DarkMind Ltd logo

CodeNova

Python Cards Adventure

Pack 8 / Pandas and Matplotlib

pandas intro and DataFrames

Lesson pack8-1

pandas intro and DataFrames

not started

Hook

A DataFrame is like a smart table with rows and columns.

Pandas stores table data in a DataFrame.

Columns have names and rows hold records.

Printing a DataFrame lets you inspect the table quickly.

Mini Challenge

Create a DataFrame with columns called "item" and "price", then print df.

Full lesson mode with normal detail.

Code Lab

Try it now

Output updates below

Output

A table with name and score columns

Run the code, tweak it, then beat the challenge.