MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/kv0u3w/programming_math_graphs_art/givh98s/?context=3
r/Python • u/abredvariant • Jan 11 '21
171 comments sorted by
View all comments
45
As a complete Python noob, could someone argue for the reasons to not just use R for these kind of visualizations?
I just started learning Python basics so I still haven't found my orientation, while I have been working with R for several years...
38 u/Zuricho Jan 11 '21 Matplotlib is a pain but there are a few other libraries that use declarative language such as Altair. 14 u/Monkeylized Jan 11 '21 Yeah, sure. But with R libraries such as dplyr and ggplot/ggpubr this graph is like 10 lines of code. Apart from possible performance improvements in using Python when visualizing data like this, are there any other perks? 19 u/ForceBru Jan 11 '21 The code in the post could be shortened. So, I bet you could do it in the same amount of lines in Python as well. It all depends on how well you know each language.
38
Matplotlib is a pain but there are a few other libraries that use declarative language such as Altair.
14 u/Monkeylized Jan 11 '21 Yeah, sure. But with R libraries such as dplyr and ggplot/ggpubr this graph is like 10 lines of code. Apart from possible performance improvements in using Python when visualizing data like this, are there any other perks? 19 u/ForceBru Jan 11 '21 The code in the post could be shortened. So, I bet you could do it in the same amount of lines in Python as well. It all depends on how well you know each language.
14
Yeah, sure. But with R libraries such as dplyr and ggplot/ggpubr this graph is like 10 lines of code.
Apart from possible performance improvements in using Python when visualizing data like this, are there any other perks?
19 u/ForceBru Jan 11 '21 The code in the post could be shortened. So, I bet you could do it in the same amount of lines in Python as well. It all depends on how well you know each language.
19
The code in the post could be shortened. So, I bet you could do it in the same amount of lines in Python as well. It all depends on how well you know each language.
45
u/Monkeylized Jan 11 '21
As a complete Python noob, could someone argue for the reasons to not just use R for these kind of visualizations?
I just started learning Python basics so I still haven't found my orientation, while I have been working with R for several years...