dalmatian icon indicating copy to clipboard operation
dalmatian copied to clipboard

get_participants cannot handle lists of non-strings

Open jakob-weiss opened this issue 1 year ago • 0 comments

(Probably related to #32)

I recently added a column containing lists of ints to the participant table, and now get_participants fails:

-> 1378 df = df.applymap(lambda x: [i['entityName'] if 'entityName' in i else i for i in x] 1379 if isinstance(x, list) and np.all(pd.notnull(x)) else x)

... (long stack trace) ...

TypeError: argument of type 'int' is not iterable

jakob-weiss avatar Oct 11 '23 16:10 jakob-weiss