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

docs(python): clarify "clones data" in to_numpy #10095

Merged
merged 4 commits into from
Jul 26, 2023

Conversation

MarcoGorelli
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Jul 26, 2023
@ritchie46
Copy link
Member

Maybe we should also clarify that it doesn't clone when data is numeric AND doesn't contain nulls.

Floating point NaNs are zero copy.

Booleans are copy as they go from bitpacked to c booleans.

@ritchie46 ritchie46 merged commit e6ea794 into pola-rs:main Jul 26, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants