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