I am trying to name my series "Points" but it is not showing up as Points.
Points = pd.Series([1,2,3])
print(Points.name)
output: None
I even tried renaming it but it still shows "None"
Points.rename("Points")
print(Points.name)
output: None
What am i doing wrong?
Points is your variable assigned the your series.
Not "s" in the above example.
and