Dear Sir,
In this O/P below, what do -70,-61 &-32 stand for. Also, the shape O/P does not show no. of columns.
(467,)
496 -70.0
497 -61.0
498 -32.0
dtype: float64Kindly reply
It’s hard to answer your question precisely without knowing exactly where in the mission you are, is there any chance you could provide a link which might help your fellow community members answer the question?
Regarding your second question, my guess is that the shape doesn’t show a number of columns because the item you’re printing is a Series and not a DataFrame. I was able to replicate this behavior with a simple example:
In [1]: import pandas as pd
In [2]: s = pd.Series([1, 2, 3])
In [3]: s.shape
Out[3]: (3,)