Skip to content

Use keyword-only orient with pandas DataFrame.to_dict - #569

Closed
forest-savage1234 wants to merge 1 commit into
process-intelligence-solutions:releasefrom
forest-savage1234:fix/pandas-to-dict-567
Closed

Use keyword-only orient with pandas DataFrame.to_dict#569
forest-savage1234 wants to merge 1 commit into
process-intelligence-solutions:releasefrom
forest-savage1234:fix/pandas-to-dict-567

Conversation

@forest-savage1234

Copy link
Copy Markdown

Summary

  • Pass orient= explicitly in the records and index conversion helpers.
  • Preserve behavior for pandas and the existing Polars lazy-frame branches.
  • Add both a keyword-only contract double and real pandas assertions.

Closes #567

Validation

  • PandasUtilsTest passed under pandas 3.0.5.
  • git diff --check.

Scope notes

The change is limited to the two pandas calls identified in #567.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix pandas 3.0 to_dict() positional arguments in pm4py/util/pandas_utils.py

2 participants