Pandas Bar Plot | DataFrame.plot.bar()

Опубликовано: 14 Август 2020
на канале: Greg Kamradt
17,590
149

https://dataindependent.com/pandas/pa...

Pandas Bar Plot is a great way to visually compare 2 or more items together. Traditionally, bar plots use the y-axis to show how values compare to each other.

In order to make a bar plot from your DataFrame, you need to pass a X-value and a Y-value. Pandas will draw a chart for you automatically.

Pseudo Code: Construct a bar plot from a column(s) and index within a DataFrame.