Create a list of elements and convert it into panda series. Function should return panda series i.e. type of object should be pandas series.
Sample Input:
[2, 4, 6, 8, 10]
Sample Output after printing return value of function.
index | value |
---|---|
0 | 2 |
1 | 4 |
2 | 6 |
3 | 8 |
4 | 10 |
dtype: int64 |