-
Notifications
You must be signed in to change notification settings - Fork 372
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
In docs, note subsets are copies (unless of columns)? #2224
Comments
Sure - go ahead with a PR please. And yes - |
Thanks @bkamins! I definitely don't want to over complicate -- for me though, knowing when you have a view and when you have a copy has profound implications for that most critical of things -- data integrity -- so I think it's worth pushing up front. |
But
|
As a data frame is a container we have THREE types of selection:
The details are described here. In general we have indexing and broadcasting design that is fully compatible with Base (+ an extension of |
@bkamins PR with a "Note" on this topic. Thoughts? |
Thanks. Tweaked a few places you are definitely right, left language ambiguities for others to review. |
Do we really need the “df[!, cols]” syntax in the end? It sounds like the behavior can be obtained either by df.”$x” (to get vector) or select (to get dataframes). |
we need it for |
Loving updated docs, and the (clear!) discussion up front about views v. copies (my greatest pet peeve about pandas).
Are people open to noting in Indexing that subsets of columns with
!
are non-copies, while subsets of rows always generate copies (I assume?). Can PR if supported.The text was updated successfully, but these errors were encountered: