renardo renardo - 1 year ago 44
Python Question

Is it possible to stack line graphs with df.plot() and if not how can it be done?

enter image description here

I want to create something like this figure with a dataframe that contains 9 columns.

Answer Source

Use the area type:


Starting pandas version 0.17: