Skip to content

CI update lock file and use _safe_indexing to select 0-column dataframe in tests #29204

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

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

glemaitre
Copy link
Member

@glemaitre glemaitre commented Jun 6, 2024

closes #29166

Polars recently changed the behaviour of __getitem__. The behaviour between polars and pandas diverged for our test.

This PR fixes it and is selecting 0-column from a dataframe.

Copy link

github-actions bot commented Jun 6, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: d7f9552. Link to the linter CI: here

@glemaitre glemaitre changed the title Fix test polars CI update lock file and use _safe_indexing to select 0-column dataframe in tests Jun 6, 2024
@glemaitre
Copy link
Member Author

@lesteve do you want to have a look :)

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM if tests are green.

@lesteve lesteve enabled auto-merge (squash) June 6, 2024 12:54
@lesteve
Copy link
Member

lesteve commented Jun 6, 2024

2 approvals already, so setting auto-merge then!

@lesteve lesteve merged commit c0c46f7 into scikit-learn:main Jun 6, 2024
31 of 33 checks passed
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 2, 2024
…me in tests (scikit-learn#29204)

Co-authored-by: Lock file bot <noreply@github.com>
@jeremiedbb jeremiedbb mentioned this pull request Jul 2, 2024
11 tasks
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 2, 2024
…me in tests (scikit-learn#29204)

Co-authored-by: Lock file bot <noreply@github.com>
jeremiedbb pushed a commit that referenced this pull request Jul 2, 2024
…me in tests (#29204)

Co-authored-by: Lock file bot <noreply@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants