Now select cups and revenue together, as a DataFrame with those two columns in…
pandas · from What a DataFrame actually is
df.indexdf.columnsdf.dtypesdf.shapedf["col"]df[["a", "b"]]Putting the kettle on…
Starting up…
Exercise 2
Now select cups and revenue together, as a DataFrame with those two columns in that order.
your answer
stuck? the lesson behind it
What a DataFrame actually is
Index, columns, values, dtypes — the four parts every later method moves around.