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

DOC: document read-only return value in DataFrame/Series.to_numpy #12

Open
jorisvandenbossche opened this issue Mar 23, 2024 · 0 comments

Comments

@jorisvandenbossche
Copy link
Owner

Current docstring: https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.to_numpy.html#pandas.DataFrame.to_numpy

Behaviour of returning a read-only numpy array is documented here: https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html#read-only-numpy-arrays

We should mention this in the docstring as well

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

No branches or pull requests

1 participant