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

Raise warning or exception when calling Series.sort when do not own data #316

Closed
wesm opened this issue Nov 1, 2011 · 2 comments
Closed
Labels
Milestone

Comments

@wesm
Copy link
Member

wesm commented Nov 1, 2011

For example, when part of a DataFrame, can result in the source array being modified in place

@wesm
Copy link
Member Author

wesm commented Nov 2, 2011

This may be impossible as every ndarray subclass is a view of the original ndarray and thus does not own its own data. Punting to 0.6-- maybe Series should keep a reference to its parent DataFrame? Potentially a nightmare to maintain

@wesm
Copy link
Member Author

wesm commented Dec 24, 2011

I figured out how to do this by following the ndarray.base to the source

@wesm wesm closed this as completed Dec 24, 2011
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Python 3.6 support for travis. Py3.6 requires raw strings when using escaped regex so this also includes these changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant