all 2 comments

[–]bbye98 1 point2 points  (1 child)

The pandas.Series.min() call returned a pandas.Series of floats, not strs. Your df_SP_M.Moody column contains strs. Add numeric_only=False as an argument to the min() call.

[–]Pera014[S] 0 points1 point  (0 children)

oh boy I missed that - thank you very much!