A Function to Format Statistics from a Pandas DataFrame

This is a simple function I wrote to nicely format various statistics for the numerical columns in a pandas dataframe, for my predictive modeling class. I thought I would post it here in case it is of use to anyone else, and mostly so I can find it again when I lose it.

Pandas Dataframe Stats Screenshot