Easy grouped bar charts in Python

How to create bar charts with two, three or more bars per entry

Philip Wilkinson, Ph.D.
Towards Data Science
6 min readNov 25, 2021

--

Image by author

A plot that I often want to create, but fail to remember how to, is a bar chart where there are two or more bars per entry or row from a DataFrame. The purpose of this is to compare two different results from the same row against one another, for example when comparing outputs from a model or seeing…

--

--