I have an Ubuntu 14.04 32-bit VM and using the default Python 2.7. I have a Nearest Neighbour script which is as follows:

```
import numpy as np
from sklearn.neighbors import NearestNeighbors

X = np.array([[28273, 20866, 29961, 27190, 31790, 19714, 8643, 14482, 5384],
[12343, 45634, 29961, 27130, 33790, 14714, 7633, 15483, 4484]])

knn = NearestNeighbors(algorithm='auto', leaf_size=30, n_neighbors=5, p=2, 
radius=1.0, warn_on_equidistant=True).fit(X)

distance, indices = knn.kneighbors(X[0])
print(indices)

```

while the script runs successfully and I get an output as well - 
`[[0 1]]` (or something similar)  

the issue is that there aren't any commas separating each element in the array. I have seen similar code online and the output of the other code is like - `array([[0, 1]])` or `[[0, 1]]`  

I have tried the `print(', '.join(indices))` but it throws an error -  

`print(', '.join(indices))
TypeError: sequence item 0: expected string, numpy.ndarray found`  

How do I modify the script such that I get the output similar to the one mentioned above? ([0, 1])  

Thanks in advance for your help :)