# import necessary libraries
import pandas as pd
import numpy as np
# create 1D numpy array using arange()
my_arr = np.array([10, 100, 200, 20, 40, 600])
# create custom index with the same size as the array
my_index = [8, 9, 10, 11, 12, 13]
# create series using constructor and specify 'index' argument
my_series = pd.Series(my_arr, index = my_index)
# print the series
print(my_series)