class pandas.Series(data=None, index=None, dtype=None, name=None, copy=None, fastpath=)
Example : -
>>> d = {'a': 4, 'b': 5, 'c': 6}
>>> ser = pd.Series(data=d, index=['a', 'b', 'c'])
>>> ser
a 4
b 5
c 6
dtype: int64