-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Flesh out the R comparison section of docs #3980
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
Comments
I guess R is famous for obfuscation (of syntax)? |
I suspect it'll be a many-to-one table :) |
ha! u guys are funny. what the heck is attach? is like |
isn't R intuitive? |
where the heck are
works only if you do the |
Attach basically is like saying 'make all of the columns of the data frame global variables' |
It has a companion method detach. I think there's also a with - like statement that scopes just to the function call. Have you seen the model syntax yet? |
patsy + statsmodels + pandas >>>>> R |
magic regarding scope and namespaces 👎 |
anyway comparisons are useful to show people how awesome pandas is :) |
related http://stackoverflow.com/questions/17621325/equivalent-pandas-function-to-this-r-aggregation Anyone fancy spamming the pandas/R/.. mailing lists to see if anyone is interested in doing this? |
https://groups.google.com/forum/#!topic/pydata/1eNURQsflNw
These look useful, shame there are some sections which are XXX-titled, as would be nice to have a todo list on this for areas to flesh out. |
hmm, would you want this to go under the
In either case the solution would be whats in Stackoverflow (and very similar to the solution in the |
you can out under the more common / useful and put a link / statement in the other (as they r in the same page) read it as if you are an R user doing the most common operation (eg what is normally recommended to R Users) and you want to convert to pandas |
there are of course similar cases in pandas where multiple solutions present (eg imagine a vectorized function vs using apply) one solution maybe faster or simpler or they may both be appropriate |
think this is closable after the multiple PR's by @chappers |
I guess quite a lot of people come from an R background, and perhaps a good material would be a conversion table for pandas vs R functions/idioms etc. in http://pandas.pydata.org/pandas-docs/dev/comparison_with_r.html
Perhaps this site could offer some functions to consider including:
http://www.statmethods.net/management/variables.html
The text was updated successfully, but these errors were encountered: