Answers for "number of observations in a dataframe"

1

pandas number of observations

### first method ###
len(df)
### second method ###
len(df.index)
### third method ###
df.shape[0]
Posted by: Guest on September-24-2021

Code answers related to "number of observations in a dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language