change series directly in a dataframe code example
Example: series.Series to dataframe
df = pd.DataFrame([s])
print (df)
product_id_y count
6159402 1159730 1
df = pd.DataFrame([s])
print (df)
product_id_y count
6159402 1159730 1