Any pandas DataFrame has a .describe() method which returns the output above. However, unnoticed in this method are categorical variables. In our example above the “method” column is completely omitted from the output.
Anyone working with data in Python will be familiar with the pandas package. If you’re not, pandas is the go-to package for most rows-&-columns formatted data. If you don’t have pandas make sure to install it using pip install in your terminal.
https://towardsdatascience.com/exploring-your-data-with-just-1-line-of-python-4b35ce21a82d
