Everything is in the question. When I did this pre-processing part with pandas, I just have to do this:
import pandas as pd serie = pd.Series([{"Event1&