pm4py.streaming.importer.csv.importer module#
- class pm4py.streaming.importer.csv.importer.Variants(*values)[source]#
Bases:
Enum- CSV_EVENT_STREAM = <module 'pm4py.streaming.importer.csv.variants.csv_event_stream' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/streaming/importer/csv/variants/csv_event_stream.py'>#
- pm4py.streaming.importer.csv.importer.apply(path, variant=Variants.CSV_EVENT_STREAM, parameters=None)[source]#
Reads a stream object from a CSV file
- Parameters:
path – Path to the CSV file
variant –
- Variant of the importer, possible values:
Variants.CSV_EVENT_STREAM
parameters – Parameters of the importer
- Returns:
Stream object
- Return type:
stream_obj