We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
transpose()
list_transpose()
And broadly reconsider its scope and implementation given vctrs and tidyr.
Related issues:
The text was updated successfully, but these errors were encountered:
dttm
One possible implementation would be to use map_vec() to get automatic simplification, something like this:
map_vec()
list_transpose <- function(x) { map(vec_index(x), ~ map_vec(x, .x)) }
Or maybe:
list_transpose <- function(x, template = vec_index(x), .ptype = NULL) { map(index, ~ map_vec(x, .x, .ptype = .ptype[.x])) }
This will be much slower than the existing transpose() implementation, but it'll be vastly more robust.
Sorry, something went wrong.
1276623
Successfully merging a pull request may close this issue.
And broadly reconsider its scope and implementation given vctrs and tidyr.
Related issues:
The text was updated successfully, but these errors were encountered: