TypeError: ufunc 'isnan' not supported for the input types #121
Unanswered
napvasconcelos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hi! The problem is not that there would be any |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
From here:
annotator = Annotator(ax, pairs, data=df, x="group", y="fr", order=order)(...)
I got this error msg:
200 if np.isnan(x).any() or np.isnan(y).any():201 raise ValueError('xandymust not contain NaNs.')202 if np.size(x) == 0 or np.size(y) == 0:TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''However a just checked the source dataframe and there is nan in those columns:
May you, please, help me on this?
Best,
Nivaldo
Beta Was this translation helpful? Give feedback.
All reactions