I am new to pandas and I saw some pandas code which says
plt.scatter(data[:,0],data[:,1])
I want to know what does data[:,0] and data[:,1] means?
I am new to pandas and I saw some pandas code which says
plt.scatter(data[:,0],data[:,1])
I want to know what does data[:,0] and data[:,1] means?
Thas mean:
data[:,0]
- > All the first column of the dataset
data[:,1]
-> All the second colum of the dataset