I have a code where I have 5 ndarray and I need to visualize it on a matplotlib. To start with, I am just trying to plot only one ndarray like below:
x = data['embeddings'][0]
y = np.linspace(0, 50, 128)
plt.scatter(x, y)
plt.show()
It looks like something below:
Now the problem here is that if I plot other 4 ndarray's as well, this graph will look very messy and I will not be able check which ndarray is which one. So I was wondering if there is any way we can convert or map ndarray to int so that when we display it, there is only one point drawn on graph for one ndarray. Please suggest some good solution. Thanks

pandas.DataFrame.sampleon each array before you plot it. It would be important to know what do the values actually represent to give a better suggestion.