2 ms·
Exploring the data is maybe 99% of what data analysis is about. It's very much a trial and error process that can't be planned in advance, and R is in my opinio
by lottin 11y ago
Exploring the data is maybe 99% of what data analysis is about. It's very much a trial and error process that can't be planned in advance, and R is in my opinion much better suited for that, with a better interactive interface, plotting system and statistical libraries.
On the other hand, if you know the exact calculations that you need to do and the results you're gonna get, then Python might be a better tool.
Personally I learned R after Python, and I use both languages, but I prefer R for anything involving statistics.
- sweezyjeezy 11y ago"R is in my opinion much better suited for that, with a better interactive interface" Have you tried IPython/Jupyter?
- lottin 11y agoYes, I used IPython a lot. What I meant by better interactive interface is that the language itself is designed with interactive use in mind. For instance compare func(x$a, x$b) func(a, b, data=x) func(a=1, b=2) with func(x['a'], x['b']) func('a', 'b', data=x) func([1, 2], ['a', 'b']) The R versions are easier to type and read.
- xixi77 11y agothe last one is, of course, a result of the atrocious handling of the default arguments in Python :)
- unclesaamm 11y agoIf the Python version is Pandas you could replace the brackets with dot notation. (x.a, x.b)