make dataframe from series code example
Example 1: pandas series vs dataframe
dataframe (think 2D array) is made up of multiple series (1D array)
Example 2: series.Series to dataframe
df = pd.DataFrame([s])
print (df)
product_id_y count
6159402 1159730 1
Example 3: series to dataframe
pd.DataFrame({'email':sf.index, 'list':sf.values})