Answers for "Size of the dataframe."

0

length of pandas dataframe

df.shape[0]
Posted by: Guest on May-06-2021
0

.size pandas

>>> df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
>>> df.size
4
Posted by: Guest on January-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language