-
Notifications
You must be signed in to change notification settings - Fork 367
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
Do we need columns and eachcol #1586
Comments
|
I am aware that they are a bit different, but I meant that For me it only hurts that it makes the design of DataFrames.jl package more complex to have two types serve almost the same purpose: |
OK. But |
Yes, but |
Additional points to gather the facts (the first of them was discussed earlier):
|
+1 to the |
@pdeffebach Note that is that currently |
Ah that makes sense. Sorry for the confusion. Yeah it makes sense that |
OK. I know what I would do (and fortunately it is functionally non-breaking):
@nalimilan and @pdeffebach - if I have a green light on it and #1585 is merged (as it touches this code also so I want to avoid rebasing) I will implement this as a PR. |
Makes sense. |
welp, i guess this opens the door to |
A type-stable iterator over rows of a data frame (passed as named tuples) could be useful if it allowed specializing the user-provided function. But that can be discussed separately. |
Closing as this is implemented and merged in consistency with Julia 1.1. |
We currently have
columns
(not exported) function andeachcol
(exported) that essentially serve the same purpose. Do we need to keep them both and what should be the direction in design here?CC @nalimilan
The text was updated successfully, but these errors were encountered: