Converting Series of lists to one Series in Pandas Last Updated : 01 Oct, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report Let us see how to convert a Series of lists to a single Series in Pandas. First of all let us create a Series of lists. For this problem we have created a Series of list having 12 elements, each list is of length 3 and there are 4 lists hence total elements are 12. When the Series of list will be converted to one it will have 12 elements. Python3 import pandas as pd data = [[1, 2, 3], [4, 5, 6], [5, 6, 7], [9, 1, 2]] s = pd.Series(data) print(s) Output: Method 1: Using the extend() method In this method, we iterate over each element of the Series and add it to a list, note that we are using the extend() method. Python3 ls = [] for i in s: ls.extend(i) s1 = pd.Series(ls) print(s1) Output: Method 2 : Using pd.concat() method We iterate through each list in the series and convert it to Series object then we concatenate all the series along the rows to form the final Series. We also need to reset the index. Python3 ls = [] for i in s: ls.append(pd.Series(i)) s1 = pd.concat([*ls]).reset_index(drop = True) print(s1) Output: Method 3: Using the apply() method. The Series object has an apply() method which takes in a function as an argument and applies it to every element. We then stack all the elements and reset the index . Python3 s1 = s.apply(pd.Series).stack().reset_index(drop = True) print(s1) Output: Comment More infoAdvertise with us Next Article Python | Pandas Series.astype() to convert Data type of series C clivefernandes777 Follow Improve Article Tags : Python Python-pandas Python pandas-series Python Pandas-exercise Practice Tags : python Similar Reads Convert Series of lists to one Series in Pandas In this program, we will see how to convert a series of lists of into one series, in other words, we are just merging the different lists into one single list, in Pandas. We will be using the stack() method to perform this task. The line will be Series.apply(Pandas.Series).stack().reset_index(drop = 1 min read Python | Pandas Series.astype() to convert Data type of 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 astype() is the one of the most important methods. It is used to change data ty 2 min read How to convert a Pandas Series to Python list? In this article, we will discuss how to convert a Pandas series to a Python List and it's type. This can be done using the tolist() method.Example 1: Python3 import pandas as pd evenNumbers = [2, 4, 6, 8, 10] evenNumbersDs = pd.Series(evenNumbers) print("Pandas Series and type") print(evenNumbersDs) 2 min read Concatenate multiIndex into single index in Pandas Series In this article, we will see how to concatenate multi-index to a single index in Pandas Series. Multi-index refers to having more than one index with the same name. Create a sample series: Python3 # importing pandas module import pandas as pd import numpy as np # Creating series data for address det 3 min read How to convert a dictionary to a Pandas series? Let's discuss how to convert a dictionary into pandas series in Python. A series is a one-dimensional labeled array which can contain any type of data i.e. integer, float, string, python objects, etc. while dictionary is an unordered collection of key : value pairs. We use series() function of panda 2 min read Creating a Pandas Series from Lists A Pandas Series is a one-dimensional labeled array capable of holding various data types such as integers, strings, floating-point numbers and Python objects. Unlike Python lists a Series ensures that all elements have the same data type. It is widely used in data manipulation and analysis.In this a 3 min read Like