pymovements.datasets.dataset.Dataset.compute_event_properties#

Dataset.compute_event_properties(event_properties: str | list[str], verbose: bool = True) None[source]#

Calculate an event property for and add it as a column to the event dataframe.

Parameters:
  • event_properties – The event properties to compute.

  • verbose (bool) – If True, show progress bar.

Raises:

InvalidProperty – If property_name is not a valid property. See pymovements.events.event_properties for an overview of supported properties.