to_frame python

41

df = pd.DataFrame([s])
print (df)
         product_id_y  count
6159402       1159730      1
df = my_series.to_frame()

Comments

Submit
0 Comments