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