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

accept duplicate column names in table report #1125

Merged

Conversation

jeromedockes
Copy link
Member

@jeromedockes jeromedockes commented Oct 22, 2024

fixes #1117

also remove the first_row_dict function which is not used anywhere

@jeromedockes jeromedockes marked this pull request as ready for review October 23, 2024 08:22
@jeromedockes jeromedockes added this to the 0.3.2 milestone Oct 23, 2024
Copy link
Member

@Vincent-Maladiere Vincent-Maladiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know all the internals but the output looks good to me :)

@jeromedockes
Copy link
Member Author

I don't know all the internals but the output looks good to me :)

thanks for checking! there's not much to it it's just making sure we retreive a column by giving its index rather than its name so we don't get any problems when it's a pandas dataframe with duplicate column names. not sure what's going on with codecov ci but I checked the added lines are covered by the tests by running them locally

@jeromedockes jeromedockes merged commit d418554 into skrub-data:main Oct 24, 2024
22 checks passed
@jeromedockes jeromedockes deleted the tablereport-duplicate-column branch October 24, 2024 07:36
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.

TableReport fails for tables with identical column names
2 participants