9 Efficient Ways for Describing and Summarizing a Pandas DataFrame
A guide to using pandas effectively and efficiently — Part 2
In part 1 of “A guide to using pandas effectively and efficiently” article series, we’ve discussed 10 efficient ways of examing the structure of a Pandas DataFrame object. If you haven’t read that post, please read it before continuing to read this one. Here is the link:
Still, we don’t know anything about the data in the DataFrame. In this post, we’ll discuss numerical and graphical methods commonly used to describe and summarise a Pandas DataFrame.
First, we’ll begin with numerical methods.
Numerical methods for describing and summarizing a Pandas DataFrame
1. Get the summary statistics
Pandas provides an easy method to get the summary statistics of a DataFrame. All you need to do is calling the describe() method after creating the DataFrame object.