<story><title>A Gentle Visual Intro to Data Analysis in Python Using Pandas</title><url>https://jalammar.github.io/gentle-visual-intro-to-data-analysis-python-pandas/</url></story><parent_chain><item><author>Mefis</author><text>How does Pandas compare to R&amp;#x27;s Tidyverse?&lt;p&gt;Tidyverse was super easy to pick up, and I can do almost anything I want with. Why would I want to switch to Panda?&lt;p&gt;Has anyone tired the python tydiverse port? How does it compare to the original?</text></item></parent_chain><comment><author>wenc</author><text>Echoing other comments, Tidyverse is somewhat more coherent (aided significantly by magrittr&amp;#x27;s %&amp;gt;% operator). Beginners might get tripped up by Non-Standard Evaluation (NSE), which is a little unintuitive, but there are packages to help with that.&lt;p&gt;The Pandas&amp;#x27;s API is a generalized solution to complicated, variegated use cases and its syntax reflects that (it was also hemmed by strictures of Python). There are several indexing methods, several ways to slice, several ways to do apply&amp;#x27;s, all of which behave slightly differently. Even expert Pandas users have trouble remembering the syntax for all of these, so they typically have a Pandas API browser window open or a printed cheat sheet pasted on some corkboard. Pandas definitely takes longer to get used to than Tidyverse but the payoff is that you get to use Python, which is a somewhat &amp;quot;deeper&amp;quot; language than R.&lt;p&gt;R is great for interactive work, and for data munging jobs that don&amp;#x27;t interact too much with non-R libraries. However Python is sinply more versatile end-to-end.&lt;p&gt;I used to start my interactive analysis in R and port to Python for production, but these days I start in Python straight away so there&amp;#x27;s no impedance mismatch. I&amp;#x27;ve personally found that writing production code in Python (and by extension Pandas) to be much more pleasant than in R, even with Tidyverse.</text></comment>
<story><title>A Gentle Visual Intro to Data Analysis in Python Using Pandas</title><url>https://jalammar.github.io/gentle-visual-intro-to-data-analysis-python-pandas/</url></story><parent_chain><item><author>Mefis</author><text>How does Pandas compare to R&amp;#x27;s Tidyverse?&lt;p&gt;Tidyverse was super easy to pick up, and I can do almost anything I want with. Why would I want to switch to Panda?&lt;p&gt;Has anyone tired the python tydiverse port? How does it compare to the original?</text></item></parent_chain><comment><author>danso</author><text>Pandas&amp;#x27; syntax and conventions are significantly more cumbersome than R, but it does pretty well given the Python syntax and convention that it has to work with. I haven&amp;#x27;t done a lot with pandas because of how difficult it is to remember the syntax and API, but I feel it&amp;#x27;s good enough that if you&amp;#x27;re already a Python user, you can stick to doing your data work in pandas rather than move over to R.</text></comment>