docs: def exclude(self, data, range_obj):
          """
          Removes data within the bounds of the range object (inclusive)
  
          returns
          -------
          data, filtered by range_obj
          """
          if isinstance(range_obj, (pd.DatetimeIndex, tuple)):
              range_obj = DateRange(range_obj[0], range_obj[-1])
          if 'date' in data.index.names:
              return data[(data.index.get_level_values('date') < range_obj.start) | (data.index.get_level_values('date') > range_obj.end)]
          elif 'date' in data.columns:
              return data[(data.date < range_obj.start) | (data.date > range_obj.end)]
          else:
              return data