Human: numpy ndarray to string. Assistant: 
Here is a Python function to numpy ndarray to string

import numpy as np

def _ndarray_to_string(ndarray):
  """Converts numpy ndarray to string."""
  return str(ndarray)

# Enter the numpy ndarray
ndarray = np.array([1, 2, 3])

# Calling the function
print((_ndarray_to_string(ndarray)))

#Example Output
# [1 2 3]

#Remember to inspect code for bugs.