Return the number of rows in df as a plain integer

pandas · from What a DataFrame actually is

df.indexdf.columnsdf.dtypesdf.shapedf["col"]df[["a", "b"]]

Putting the kettle on…

Starting up…

Exercise 3

Return the number of rows in df as a plain integer.

your answer
stuck? the lesson behind it
What a DataFrame actually is
Index, columns, values, dtypes — the four parts every later method moves around.