
There are tons of config options in Python Pandas. Set them with pd.set_option:
pd.set_option('display.precision', 2)
Now floats in a series or data frame will have 2 digits after the decimal.
Retrieve the value with “get_option”:
pd.get_option('display.precision')
