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

PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

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'#
RETURN_PL_LAZYFRAME = 'return_pl_lazyframe'#
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