-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Bug: TypeError: ufunc 'sqrt' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' #32904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Can you post the full traceback? |
|
We're eventually passing the string pandas/pandas/plotting/_matplotlib/core.py Lines 933 to 936 in d3e5485
As a workaround, you can pass the column directly with |
Thank you for the pointer! Submitted a PR here: #32937 |
5 tasks
We'll leave this open until it's fixed. |
This was referenced Mar 26, 2020
Closed
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code Sample, a copy-pastable example if possible
Problem description
Calling plot.scatter on a pandas dataframe with option for size results in a TypeError. The same data can be plotted directly with matplotlib.
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: