Posts

Showing posts from August, 2020

ggplot: Grammar of Graphics in Python with Plotnine

Image
A powerful graphics library for great visualizationsDo you wish that Python could emulate the superb visualizations that ggplot gives you in the R language? Well it can.We are going to explore the capabilities of Plotnine, a visualization library for Python that is based on ggplot2.Being able to visualize your data gives you the ability to better understand it. It gives you the opportunity to gain insights into the relationships between elements of that data and to spot correlations and dependencies. ggplot, in R, and Plotnine in Python gives you the ability to do this in a logical way. You don't need to be an expert in Python to be able to do this, although some exposure to programming in Python would be useful, as would be a basic understanding of DataFrames in Pandas.It would be helpful if you are familiar with Jupyter Notebooks, too.ggplotggplot2 is a powerful graphics library for R and is described in the book "ggplot2: Elegant Graphics for Data Analysis" by Hadley …