one question. I have a list under a column that looks like this:
`[<36 * Days>, <23 * Days>] `` I would like to get only the values 36 and 23 as integers from this list (so that I can get the mean value from these two numbers for other purposes).
I have tried methods like this:
df['tdColumn'] = pd.to_numeric(df['tdColumn'].dt.days, downcast='integer')
df['tdColumn'] = df['tdColumn'].dt.days.astype('int16')
But i keep getting AttributeError: Can only use .dt accessor with datetimelike values
Do you have an idea on how to do this? Thanks.