code: def set_sig_figs(n=4):
      
      u.default_format = '.' + str(n) + 'g'
      pd.options.display.float_format = ('{:,.' + str(n) + '}').format
docs: Set the number of significant figures used to print Pint, Pandas, and
      NumPy quantities.
  
      Args:
          n (int): Number of significant figures to display.