In my dataset, I have a salary column like this
array([[ 45000],
[ 50000],
[ 60000],
[ 80000],
[ 110000],
[ 150000],
[ 200000],
[ 300000],
[ 500000],
[1000000]], dtype=int64)
When I try to plot this using scatter the output come as shown in figure.
plt.scatter(features,label)
What I expected is like this.
I'm a beginner. Please solve my confusion.