If you want to alter how numbers are shown within DataFrames, use these handy options to round trailing decimal numbers.
pd.set_option(‘precision’, 2) # Round to two decimal points
This second option also provides the functionality of comma separators between three digits of larger numbers:
pd.options.display.float_format = ‘{:,.2f}’.format