Inspecting DataFrames
Last updated
Last updated
MIT Resources
https://accessibility.mit.eduMassachusetts Institute of Technology
Pandas provides some simple methods to look at your dataframes:
[your_dataframe_name].head(5)
will provide the first 5 rows
[your_dataframe_name].tail(10)
will provide the last 10 rows
[your_dataframe_name].describe()
is a quick way to get summary statistics on a per-column basis
You can find more useful pandas functions [here]
(216, 183)