I keep getting this TypeError that pops up in random places when using python pandas and it makes no sense to me at all.
When using
if len(pd.unique(da