How do I get the row count of a Pandas dataframe?

I'm trying to get the number of rows of dataframe df with Pandas, and here is my code. Method 1: total_rows = df.count print total_rows +1 Method 2: total_rows = df['First_columnn_label'].count...