Cannot Mix List and non-list, non-null values

I have a dataframe, total_df. It has a column called Assignee. It contains a list of dictionaries.

I have written a function that iterates through the list, and pulls out my desired value, identified by the key “name” and adds it into a new list.

I keep on getting the same error

StreamlitAPIException : (‘cannot mix list and non-list, non-null values’, ‘Conversion failed for column Assignee with type object’)

I haven’t been able to find any documentation regarding this error. Please advise.

Hi @Evan_Isenstein, welcome to the Streamlit forum!

Without seeing the code and a data sample, it’s hard to say what the problem might be. Can you make a reproducible example and post it here?

Best,
Randy

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.