Inspecting DataFrames
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]
ms.head() #this will give the first 5 rows by default. You can add any number in the () to get that number of rows


(216, 183)




Last updated
Was this helpful?
