Task: Convert Pandas Series to DataFrame
Task: Convert Pandas Series to DataFrame: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that converts a Pandas Series (where the index contains email addresses and the values contain lists) into a DataFrame with the index reset and columns named email and list .
The task
Write a Python script that converts a Pandas Series (where the index contains email addresses and the values contain lists) into a DataFrame with the index reset and columns named `email` and `list`.
Part of PrimeIntellect/Terminal-Lego-15k.