make a pandas series out of list code example
Example: make a pandas series out of list
# import pandas as pd
import pandas as pd
# create Pandas Series with default index values
# default index ranges is from 0 to len(list) - 1
x = pd.Series(['Geeks', 'for', 'Geeks'])
# print the Series
print(x)