filter_ocel_attribute
Filter an object-centric event log (OCEL) by attribute values at event or object level, keeping or removing matching rows.
Instructions
Filter an OCEL by event or object attribute values.
level='event' dispatches to pm4py.filter_ocel_event_attribute;
level='object' dispatches to pm4py.filter_ocel_object_attribute.
retain=True keeps the matching rows, False drops them — this
maps to PM4Py's positive parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | event | |
| retain | No | ||
| values | Yes | ||
| ocel_id | Yes | ||
| attribute | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||