code: def delete_measurements(self, row_or_rows):
          
          self.data.drop(self.data.index[row_or_rows], inplace=True)
          self.data = self.data.reset_index()
docs: Delete one or more measurements by index of the DataFrame.
  
          Resets the DataFrame index.
  
          Parameters
          ----------
          row_or_rows : int or list of ints
              Row numbers (starting with zero) of the data DataFrame (ert.data)
              to delete
  
          Returns
          -------
  
          None