rfwtools.extractor.utils.get_example_data

rfwtools.extractor.utils.get_example_data(ex, query)[source]

Get the requested data from the provided Example. Handles loading and unloading of Example data.

Parameters:
  • ex (Example) – The Example object

  • query (str) – The query parameter to apply to the Example.event_df or None if no query is requested

Return type:

DataFrame

Returns:

The requested Example’s event_df DataFrame