Convert Series of lists to one Series in Pandas Last Updated : 18 Aug, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 = True). The reset_index() method will reset the index of the DataFrame/Series. Example 1 : Merging multiple series lists of integers. Python3 # importing the module import pandas as pd # creating a Pandas series of lists s = pd.Series([[2, 4, 6, 8], [1, 3, 5, 7], [2, 3, 5, 7]]) print("Printing the Original Series of list") print(s) # converting series of list into one series s = s.apply(pd.Series).stack().reset_index(drop = True) print("\nPrinting the converted series") print(s) Output : Example 2 : Merging multiple series lists of characters. Python3 # importing the module import pandas as pd # creating a Pandas series of lists s = pd.Series([['g', 'e', 'e', 'k', 's'], ['f', 'o', 'r'], ['g', 'e', 'e', 'k', 's']]) print("Printing the Original Series of list") print(s) # converting series of list into one series s = s.apply(pd.Series).stack().reset_index(drop = True) print("\nPrinting the converted series") print(s) Output : Comment More infoAdvertise with us Next Article Converting Series of lists to one Series in Pandas A Akashkumar17 Follow Improve Article Tags : Python Python-pandas Python pandas-series Python Pandas-exercise Practice Tags : python Similar Reads Converting Series of lists to one Series in Pandas 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 co 2 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 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 Convert a series of date strings to a time series in Pandas Dataframe During the analysis of a dataset, oftentimes it happens that the dates are not represented in proper type and are rather present as simple strings which makes it difficult to process them and perform standard date-time operations on them. pandas.to_datetime() Function helps in converting a date str 3 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 Like