Change how pandas displays numbers

pd.set_option(‘precision’, 2) # Round to two decimal points
pd.options.display.float_format = ‘{:,.2f}’.format

Sign up for more tips