How to convert ndarray to series in python
pd.Series(my_ndarray)
no need to convert it first to a list then to series.
z_r.tolist()
You can use this one:
my_list = map(lambda x: x[0], z_r)
ser = pd.Series(my_list)
In [86]:
ser
Out[86]:
0 0.009093
1 0.023903
2 0.029988
Actually, your question is how to convert to series ^^