human
Can you show me a Python function to generate string from array.
assistant
Here is a Python function to generate string from arrays

import numpy as np

def _generateStringFromArray(array):
    """
    Generate string from array
    """
    return " ".join([str(x) for x in array])

# Enter the array
array = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((_generateStringFromArray(array)))

#Example Output
# 1 2 3 4 5 6 7 8 9 10

#Remember to inspect code for bugs.