pm4py.objects.conversion.log.variants.to_data_frame module#

class pm4py.objects.conversion.log.variants.to_data_frame.Parameters(*values)[source]#

Bases: Enum

DEEP_COPY = 'deepcopy'#
STREAM_POST_PROCESSING = 'stream_postprocessing'#
CASE_ATTRIBUTE_PREFIX = 'case_attribute_prefix'#
pm4py.objects.conversion.log.variants.to_data_frame.apply(log, parameters=None)[source]#

Converts a provided event log object into a Pandas dataframe. As a basis, an EventStream object is used. In case an EventLog object is given, it is first converted to an EventStream object. Within the conversion, the order is not changed, i.e., the order imposed by the iterator is used.

Parameters:
  • log :class:`pm4py.log.log.EventLog` – Event log object, can either be an EventLog object, EventStream Object or Pandas dataframe

  • parameters :class:`dict` – Parameters of the algorithm (currently, this converter is parameter free)

Returns:

Pandas dataframe

Return type:

df