-
Notifications
You must be signed in to change notification settings - Fork 66
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
Implement vec_get()
#626
Implement vec_get()
#626
Conversation
Merge branch 'master' into vec-get # Conflicts: # src/init.c # src/slice.c
I take it back, this behavior is right. It should only strip names |
With https://github.com/tidyverse/dplyr/blob/057b453428f0139dd013ee4db247d1a1ca51032f/R/tbl-df.r#L38-L49 resolve_chunks <- if (inherits(data, "rowwise_df")) {
function(index) vec_chop2(.subset2(data, index), rows)
} else {
function(index) vec_chop(.subset2(data, index), rows)
} |
Should rename to |
Idea from @lionel-: Even if |
Will be |
vec_slice()
tools, except for non-shaped lists, where we actually extract out the inner elements.vec_as_position()
, which slows things down a good bit right now because it is not written in Cdf_slice()
was altered so that the restoration / slicing of row names happens outside of that function. This way we can use it invec_get()
and correctly drop row names.Created on 2019-10-19 by the reprex package (v0.3.0)