-
Notifications
You must be signed in to change notification settings - Fork 41
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
Clunkiness #185
Comments
That blog post is great, thank you for sharing it! The conciseness of the R version is definitely inspirational, and worth aiming for. I’m looking forward to spending some time with it. |
I added another of Rasmus' analyses
I'd like to have a field called Instead of
I can now get the discounted amount
@adamConnerSax I copied this from one of your examples but it does feel clunky in comparison to the R:
|
So R or maybe
|
Sorry to chime in late here. I love that you're trying these comparisons! And, selfishly, that you are working with Frames-map-reduce, because I too think the API needs work. I often don't focus on the issues you point out here because I am more stymied by the type-inference issues involved in writing more general purpose functions, ones with some columns left as type-parameters. But it would be great to have a better API for these sorts of explorations. Anyway, some observations:
|
@adamConnerSax thanks for the feedback. I came up with a way which doesn't use It's annoying that
|
|
Rasmus Bååth wrote an interesting blog: https://www.sumsar.net/blog/pandas-feels-clunky-when-coming-from-r/ where he remarks that Pandas feels clunky compared to R's frames. So I thought I would try to reproduce it using Frames and https://hackage.haskell.org/package/Frames-map-reduce (@adamConnerSax) hoping it would be as easy as R. This is as far as I got but it doesn't seem as slick as the R. Does anyone have any better ideas?
which gives
The text was updated successfully, but these errors were encountered: