seismometer.data.pandas_helpers.is_valid_event

seismometer.data.pandas_helpers.is_valid_event(dataframe, event, ref)

Creates a mask excluding rows (False) where the event occurs before the reference time. If the comparison cannot be made, all rows will be considered valid (True).

Parameters:
  • dataframe (DataFrame)

  • event (str)

  • ref (str)

Return type:

DataFrame