docs: def series64bitto32bit(s):
      """
      Convert a Pandas series from 64 bit types to 32 bit types to save
      memory or disk space.
  
      Parameters
      ----------
      s : The series to convert
  
      Returns
      -------
      The converted series
      """
      if s.dtype == np.float64:
          return s.astype('float32')
      elif s.dtype == np.int64:
          return s.astype('int32')
      return s