seismometer.data.loader.event.post_transform_fn

seismometer.data.loader.event.post_transform_fn(config, events)

Converts the Time column in events to a datetime64[ns] type, to be compatible with other operations.

Parameters:
  • config (ConfigProvider) – The loaded configuration object.

  • events (pd.DataFrame) – The events dataframe.

Returns:

The transformed events dataframe.

Return type:

pd.DataFrame