How to Plot Multiple Series from a Pandas DataFrame? Last Updated : 28 Nov, 2021 Comments Improve Suggest changes Like Article Like Report 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 Python3 #import matplotlib import matplotlib.pyplot as plt # import pandas module import pandas as pd # create a dataframe with four columns data = pd.DataFrame({'data1': [1, 2, 3, 4, 21], 'data2': [6, 7, 8, 9, 10], 'data3': [11, 23, 21, 45, 67], 'data4': [22, 33, 45, 34, 56]}) # plot one by one plt.plot(data['data1']) plt.plot(data['data2']) plt.plot(data['data3']) plt.plot(data['data4']) # set y label plt.ylabel('Distance') # set x label plt.xlabel('Time') # set title plt.title('Travelling') # display plot plt.show() Output: Example 2: Plot with two columns from the dataframe Python3 #import matplotlib import matplotlib.pyplot as plt # import pandas module import pandas as pd # create a dataframe with two columns data = pd.DataFrame({'data1': [1, 2, 3, 4, 21], 'data2': [6, 7, 8, 9, 10]}) # plot one by one plt.plot(data['data1']) plt.plot(data['data2']) # set y label plt.ylabel('Distance') # set x label plt.xlabel('Time') # set title plt.title('Travelling') # display plot plt.show() Output: Comment More infoAdvertise with us Next Article How to Plot Multiple Series from a Pandas DataFrame? O ojaswilavu8128 Follow Improve Article Tags : Python Python-pandas Python pandas-series Python pandas-plotting Practice Tags : python Similar Reads Pandas - Plot multiple time series DataFrame into a single plot In this article, weâll explore how to plot multiple time series from Pandas DataFrames into a single plot. When working with multiple time series, the most important factor is ensuring that their indexes (usually DateTime indexes) are aligned. Weâll cover two common scenarios:Time series with the sa 3 min read How to Stack Multiple Pandas DataFrames? In this article, we will see how to stack Multiple Pandas Dataframe. Stacking means appending the dataframe rows to the second dataframe and so on. If there are 4 dataframes, then after stacking the result will be a single dataframe with an order of dataframe1,dataframe2,dataframe3,dataframe4. Panda 6 min read How to plot a Pandas Dataframe with Matplotlib? We have a Pandas DataFrame and now we want to visualize it using Matplotlib for data visualization to understand trends, patterns and relationships in the data. In this article we will explore different ways to plot a Pandas DataFrame using Matplotlib's various charts. Before we start, ensure you ha 2 min read How to Pretty Print an Entire Pandas Series or DataFrame? In this article, we are going to see how to Pretty Print the entire pandas Series / Dataframe.  There are various pretty print options are available for use with this method. Here we will discuss 3 ways to Pretty Print the entire Pandas Dataframe: Use pd.set_options() methodUse pd.option_context() m 3 min read How to Create Pie Chart from Pandas DataFrame? A pie chart is a circular statistical graphic divided into slices to illustrate numerical proportions. Each slice represents a category's contribution to the whole, typically expressed as a percentage of 100%. Pie charts are widely used in research, engineering, business analytics and data visualiza 4 min read How to Plot a Dataframe using Pandas Pandas plotting is an interface to Matplotlib, that allows to generate high-quality plots directly from a DataFrame or Series. The .plot() method is the core function for plotting data in Pandas. Depending on the kind of plot we want to create, we can specify various parameters such as plot type (ki 8 min read Python | Pandas Dataframe/Series.dot() Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric Python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Series.dot()The dot() method is used to compute the dot product between DataFr 6 min read Plotting Bar Graph in Matplotlib from a Pandas Series Bar graphs are one of the most common types of data visualizations used to represent categorical data with rectangular bars. Each bar's height or length corresponds to the value it represents. In Python, the combination of Pandas and Matplotlib libraries provides a powerful toolset for creating bar 3 min read How to Plot Multiple DataFrames in Subplots in Python Plotting multiple dataframes in subplots is a powerful technique in data visualization, especially when comparing trends or patterns across different datasets. This approach allows you to display multiple plots within a single figure, making it easier to analyze relationships and differences between 3 min read How to plot multiple data columns in a DataFrame? Python comes with a lot of useful packages such as pandas, matplotlib, numpy, etc. To use DataFrame, we need a Pandas library and to plot columns of a DataFrame, we require matplotlib. Pandas has a tight integration with Matplotlib. You can plot data directly from your DataFrame using the plot() met 3 min read Like