-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add flatten to DataAPI.jl #39
Comments
Cool - this is an interesting package. I can see how this could remove friction for users. Just a thought - for functions that are widely useful, are present in other languages standard libraries, and have an unambiguous definition for |
I think it might be possible, but I think that adding things to Julia Base has been recently restricted a lot. Also, even if we added them, they would most likely not go into the next Julia LTS, which means that we would wait several years to be sure everyone has it in Julia Base. I think the benefit of DataAPI.jl is that it allows for a much quicker development cycle as we would only add e.g.:
here so we do not have to promise any specific API (except for specification of a general meaning of the function). |
Am I right that
|
Indeed. The issue is to avoid name clashes when both DataFrames.jl and SplitApplyCombine.jl are both loaded in a session (which is relatively common for advanced usage scenarios). What would you do in such a case? |
That sounds right. I assumed you used The |
It is just
Right |
Both SplitApplyCombine.jl and DataFrames.jl export
flatten
. I would add it to DataAPI.jl. The question is what docstring it should have? Maybe something like:Is enough?
@andyferris - after this is established maybe you could add DataAPI.jl to SplitApplyCombine.jl as a dependency and make
innerjoin
andflatten
implement this interface? Then SplitApplyCombine.jl and DataFrames.jl could be used together more easily.The text was updated successfully, but these errors were encountered: