Question : get all count rows pandas
Answered by : obnoxious-osprey-4or8dibkqxd8
count_row = df.shape[0] # gives number of row count
count_col = df.shape[1] # gives number of col count
Source : https://stackoverflow.com/questions/15943769/how-do-i-get-the-row-count-of-a-pandas-dataframe | Last Update : Mon, 01 Jun 20
Question : pandas length of dataframe
Answered by : yordi
len(df)
Source : | Last Update : Sat, 12 Mar 22