get row number of pandas dataframe of a particular row code example Example: get number of rows pandas number_of_rows = len(df)