how to transform a series to a df code example Example: series to dataframe pd.DataFrame({'email':sf.index, 'list':sf.values})