pandas and NumPy 3 · Loading and inspecting

Create a DataFrame by hand

Build a small DataFrame from a dictionary.

df = pd.DataFrame({"name": ["Ada", "Grace"], "age": [36, 45]})

Official pandas and NumPy 3 documentation

More loading and inspecting commands

All loading and inspecting commands · pandas and NumPy 3 cheatsheet

Was this page helpful?