I have the following data structure.
basket_series = df_train["basket"].head(10) type(basket_series)
Output: pandas.core.se