panjang df
count_row = df.shape[0] # gives number of row count
count_col = df.shape[1] # gives number of col count
Happy Hare
count_row = df.shape[0] # gives number of row count
count_col = df.shape[1] # gives number of col count
>>> s = pd.Series({'a': 1, 'b': 2, 'c': 3})
>>> s.size
3