# import the pandas module
import pandas as pd
# define 1D list to convert into a series
my_list = [1, 2, 3, 4, 5]
# define custom index of the same size as the list
my_index = [11, 12, 13, 14, 15]
# use the pd.Series constructor and specify 'index' argument
my_series = pd.Series(my_list, index = my_index)
# print the series
print(my_series)