Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't raise when converting from pandas if index contains duplicate names when include_index=False (the default) #18133

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

MarcoGorelli
Copy link
Collaborator

closes #18130

…te names when `include_index=False` (the default)
@MarcoGorelli MarcoGorelli changed the title fix: dont raise when converting from pandas if index contains duplicate names when include_index=False (the default) fix: Don't raise when converting from pandas if index contains duplicate names when include_index=False (the default) Aug 11, 2024
@MarcoGorelli MarcoGorelli marked this pull request as ready for review August 11, 2024 10:18
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars and removed title needs formatting labels Aug 11, 2024
Copy link

codecov bot commented Aug 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.35%. Comparing base (afd93b2) to head (769e8f7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18133   +/-   ##
=======================================
  Coverage   80.34%   80.35%           
=======================================
  Files        1496     1496           
  Lines      197751   197751           
  Branches     2822     2822           
=======================================
+ Hits       158884   158897   +13     
+ Misses      38345    38332   -13     
  Partials      522      522           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46 ritchie46 merged commit 4233d61 into pola-rs:main Aug 11, 2024
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pandas DataFrames with a multiindex fails to be converted to a Polars DataFrame
2 participants