Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix readonly issues in pandas #289

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

Draft
stes wants to merge 2 commits into main
base: main
Choose a base branch
Loading
from stes/upgrade-pandas-torch
Draft

fix readonly issues in pandas #289

stes wants to merge 2 commits into main from stes/upgrade-pandas-torch

Conversation

@stes
Copy link
Member

@stes stes commented Jan 21, 2026
edited
Loading

Fix #287

MMathisLab reacted with thumbs up emoji
Comment on lines +113 to +115
# Ensure array is writable (pandas 3.0+ may return read-only arrays)
if not X.flags.writeable:
X = X.copy()
Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually not ideal... should work without as well, no need to actually modify the dataset within the sklearn API

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Make CEBRA compatible with pandas 3.0.0

2 participants

AltStyle によって変換されたページ (->オリジナル) /