Live data from Hacker News

R vs Python for simple interactive data analysis

github.com

11–14 of 14 posts

Re: R vs Python for simple interactive data analysis

#11
post #8

Earlier quoted context omitted.

I entirely agree though my personal preference is for lattice over ggplot as it is faster and more flexible at the present time (the "limitations" of ggplot reflect the preference of the creator; e.g. not being able to have two axes for the same plot). But reshape and also plyr are quite useful. R does have surprising capability for shell scripting and text processing, albeit slower than Python. I also use Python for…

I've built the equivalent to most of the plyr and reshape/reshape2 packages inside pandas ( http://pandas.sourceforge.net , note I am in the midst of overhauling the documentation for the upcoming release). I plan to write a decent amount of side-by-side code comparisons, should definitely be useful for folks with R experience wishing to use Python for data analysis / statistics. Feedback from savvier R users than my…

That sounds great -- I only recently learned of pandas (I normally don't use much of NumPy/SciPy), but I will keep an eye out on this.

Re: R vs Python for simple interactive data analysis

#13
post #8

Earlier quoted context omitted.

I entirely agree though my personal preference is for lattice over ggplot as it is faster and more flexible at the present time (the "limitations" of ggplot reflect the preference of the creator; e.g. not being able to have two axes for the same plot). But reshape and also plyr are quite useful. R does have surprising capability for shell scripting and text processing, albeit slower than Python. I also use Python for…

I've built the equivalent to most of the plyr and reshape/reshape2 packages inside pandas ( http://pandas.sourceforge.net , note I am in the midst of overhauling the documentation for the upcoming release). I plan to write a decent amount of side-by-side code comparisons, should definitely be useful for folks with R experience wishing to use Python for data analysis / statistics. Feedback from savvier R users than my…

Yes, a python version of ggplot2 is well overdue!

Re: R vs Python for simple interactive data analysis

#14
post #4

I'm fairly familiar with Python, somewhat familiar with R, and fairly familiar with Stata. The scenarios where you're doing OLS analysis can generally be broken in to two categories: 1) Exploration of a given data set. 2) Automatic collection and analysis of data. In most academic uses of data (1) is the case. Here, if the data is already rectangular, and in a nice format, I would actually prefer Stata. However, as s…

I think you want ggplot2 and reshape2 ;)
Post reply on HN