Answers for "df size"

0

df length

count_row = df.shape[0]  # gives number of row count
count_col = df.shape[1]  # gives number of col count
Posted by: Guest on October-16-2020
0

df size

>>> s = pd.Series({'a': 1, 'b': 2, 'c': 3})
>>> s.size
3
Posted by: Guest on April-02-2022

Python Answers by Framework

Browse Popular Code Answers by Language