-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
columns, rows & slices views #32317
Comments
In DataFrames.jl Therefore, at least from DataFrames.jl perspective it is not a problem if in Base the following decision were made:
|
Indeed the "each" prefix sounds a bit off when the function returns (or could return) an |
The approach would be to make |
+1 for this change. Although this was originally discussed in #14491 (comment), where it was decided against |
#32310 made me think of a discussion I'd had about data frames and wanting to be able to write
columns(df)
to access a data frame as a collection of columns. We could makeeachcol(df)
work like that but theeach
in the name gets a bit weird. So perhaps we might want to rename (or alias until 2.0)eachcol
tocolumns
and make it act more like a view of the underlying collection than as just an iterator. There would be correspondingrows
andslices
view wrappers. Thoughts?The text was updated successfully, but these errors were encountered: