forked from SWISDATA/processintel
converters.csv_to_xes: missing case IDs and activities become "nan" #10
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ffrauenberger/ProcessIntel#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium (rows with missing values end up in an artificial case or activity
nan)Where
app/converters/csv_to_xes_converter.py:46-58Problem
astype(str)convertsNaNto the literal string"nan"beforedropnaruns. Rows with a missing case ID or activity are therefore never dropped; only rows with a missing timestamp are removed.Steps to reproduce
Expected behavior
Rows with a missing case ID, activity or timestamp are removed, and the reported count includes all of them.
Actual behavior
concept:name="nan".nan.Fix
Run
dropnaon the selected columns before the string conversion, and also treat empty or whitespace-only strings as missing.from
issues/BUG-010-csv-to-xes-missing-values-become-nan-strings.md(code analysis of commit6bcc646, 2026-10-03)