(discussion) a good/convenient way to get a view of subset of a dataset #83
Unanswered
zhangyingmath
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(please help me move it to the "discussion" session because I can't post there directly.)
As far as I understand, if I use a range index, start:stop:step, I got a view (no copy), and modifying the subset will modify its parent; if I use a fancy index I will get a copy. Here are my wishes:
(I suppose the answer to this question is impossible, but just want to ask.)
Moreover, it would be good if statements like "np.where" can accept this range_index object as well.
Beta Was this translation helpful? Give feedback.
All reactions