News

Dataframe objects have a shape attribute that reports the number of rows and columns in the dataframe: print(df.shape) (1704, 6) # rows, cols To list the names of the columns themselves, use .columns: ...