print find the length of a dataframe python code example Example: length of pandas dataframe df.shape[0]