VOOZH about

URL: https://www.geeksforgeeks.org/python/how-to-plot-multiple-series-from-a-pandas-dataframe/

⇱ How to Plot Multiple Series from a Pandas DataFrame? - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

How to Plot Multiple Series from a Pandas DataFrame?

Last Updated : 28 Nov, 2021

In this article, we will discuss how to plot multiple series from a dataframe in pandas.

Series is the range of the data  that include integer points we cab plot in pandas dataframe by using plot() function

Syntax:

matplotlib.pyplot(dataframe['column_name'])

We can place n number of series and we have to call the show() function to display the plot

Example 1: Python code to create four dataframes and plot

Output:

👁 Image

Example 2: Plot with two columns from the dataframe

Output:

👁 Image
Comment