series dataframe code example
Example 1: series.Series to dataframe
df = pd.DataFrame([s])
print (df)
product_id_y count
6159402 1159730 1
Example 2: how to define a series in pandas
# import pandas as pd
import pandas as pd
# Creating empty series
ser = pd.Series()
print(ser)