In st.write() : TypeError: exception() takes 3 positional arguments but 4 were given

Hi Rat,

I do not think you are the first to encounter this issue! There is an open issue here and a previous thread here. Perhaps some of the answers there can help you debugging… It looks like it has something to do with the preds dataframe, but that is all I can say.

2 Likes