docs: def filter(self, query, inplace=True):
          """Use a query statement to filter data. Note that you specify the data
          to be removed!
  
          Parameters
          ----------
          query : string
              The query string to be evaluated. Is directly provided to
              pandas.DataFrame.query
          inplace : bool
              if True, change the container dataframe in place (defaults to True)
  
          Returns
          -------
          result : :py:class:`pandas.DataFrame`
              DataFrame that contains the result of the filter application
  
          """
          with LogDataChanges(self, filter_action='filter', filter_query=query):
              result = self.data.query(
                  'not ({0})'.format(query),
                  inplace=inplace,
              )
          return result