Add a Pandas series to another Pandas series
Last Updated :
15 Jul, 2025
Let us see how to add a Pandas series to another series in Python. This can be done using 2 ways:
Method 1: Using the append() function: It appends one series object at the end of another series object and returns an appended series. The attribute, ignore_index=True is used when we do not use index values on appending, i.e., the resulting index will be 0 to n-1. By default, the value of the ignore_index attribute is False.
Python3
# importing the module
import pandas as pd
# create 2 series objects
series_1 = pd.Series([2, 4, 6, 8])
series_2 = pd.Series([10, 12, 14, 16])
# adding series_2 to series_1 using the append() function
series_1 = series_1.append(series_2, ignore_index=True)
# displaying series_1
print(series_1)
Output:
Appending two Series without using ignore_index attribute:
Python3
# importing the module
import pandas as pd
# create 2 series objects
series_1 = pd.Series([2, 4, 6, 8])
series_2 = pd.Series([10, 12, 14, 16])
# adding series_2 to series_1 using the append() function
series_1 = series_1.append(series_2)
# displaying series_1
print(series_1)
Output:
0 2
1 4
2 6
3 8
0 10
1 12
2 14
3 16
dtype: int64
Note: If we don't use ignore_index attribute, then the second series will use its own index upon appending operation.
Method 2: Using the concat() function: It takes a list of series objects that are to be concatenated as an argument and returns a concatenated series along an axis, i.e., if axis=0, it will concatenate row-wise and if axis=1, the resulting Series will be concatenated column-wise.
Python3
# importing the module
import pandas as pd
# create 2 series objects
series_1 = pd.Series([2, 4, 6, 8])
series_2 = pd.Series([10, 12, 14, 16])
# adding series_2 to series_1 using the concat() function
series_1 = pd.concat([series_1, series_2], axis=0)
# displaying series_1
print(series_1)
Output:

Concatenating two Series column-wise:
Python3
# importing the module
import pandas as pd
# create 2 series objects
series_1 = pd.Series([2, 4, 6, 8])
series_2 = pd.Series([10, 12, 14, 16])
# adding series_2 to series_1 using the concat() function
series_1 = pd.concat([series_1, series_2],axis=1)
# displaying series_1
print(series_1)
Output:
0 1
0 2 10
1 4 12
2 6 14
3 8 16
Note: When concatenation done on two Series column-wise, then the result will be a DataFrame.
type(series_1)
pandas.core.frame.DataFrame
Similar Reads
Add one Laguerre series to another in Python In this article, we will be looking at the method to add one Laguerre series to another in Python. The product of the exponential of a matrix by a vector is computed using Laguerre polynomials and a Filtered Conjugate Residual (FCR) framework. In Python, we take the Numpy library, and use the polyno
2 min read
Add, subtract, multiple and divide two Pandas Series Let us see how to perform basic arithmetic operations like addition, subtraction, multiplication, and division on 2 Pandas Series. For all the 4 operations we will follow the basic algorithm : Import the Pandas module. Create 2 Pandas Series objects. Perform the required arithmetic operation using t
2 min read
Python | Pandas Series.cumsum() to find cumulative sum of a Series Pandas Series.cumsum() is used to find Cumulative sum of a series. In cumulative sum, the length of returned series is same as input and every element is equal to sum of all previous elements. Syntax: Series.cumsum(axis=None, skipna=True) Parameters: axis: 0 or 'index' for row wise operation and 1 o
2 min read
Python | Pandas Series.add_suffix() Pandas series is a One-dimensional ndarray with axis labels. The labels need not be unique but must be a hashable type. The object supports both integer- and label-based indexing and provides a host of methods for performing operations involving the index. Pandas Series.add_suffix() function is used
3 min read
Python | Pandas series.cumprod() to find Cumulative product of a Series 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.cumprod() is used to find Cumulative product of a series. In cumulative
3 min read
DataFrame vs Series in Pandas Pandas is a widely-used Python library for data analysis that provides two essential data structures: Series and DataFrame. These structures are potent tools for handling and examining data, but they have different features and applications. In this article, we will explore the differences between S
7 min read