We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When executing the following code, Pandas reports that TypeError: unsupported operand type(s) for /: 'object' and 'object'
TypeError: unsupported operand type(s) for /: 'object' and 'object'
from uncertainties import unumpy df = pd.DataFrame(unumpy.uarray([[1, 2], [5, 6]], [[0.1, 0.2], [0.5, 0.1]]), columns=['x', 'y']) print(df.eval("x / y", inplace=False))
However, if the formula is x+y or x*y or even x**y it works fine.
x+y
x*y
x**y
Not sure if this an issue for uncertainties or an issue in Pandas, but I'm surprised that this only happens for division
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When executing the following code, Pandas reports that
TypeError: unsupported operand type(s) for /: 'object' and 'object'
However, if the formula is
x+y
orx*y
or evenx**y
it works fine.Not sure if this an issue for uncertainties or an issue in Pandas, but I'm surprised that this only happens for division
The text was updated successfully, but these errors were encountered: