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
import panda as pd s = pd.Series(range(10)) s.sub(1) # AssertionError: Other operand must be Series df = pd.DataFrame({'test':s}) df.sub(1) # works
Am I misunderstanding or should scalars work with sub/mul/div/etc?
The text was updated successfully, but these errors were encountered:
BUG: Series arithmetic operator cannot handle constant and ndarray #2574
e963988
BUG: Series arithmetic operator cannot handle constant and ndarray pa…
ffe4030
…ndas-dev#2574
No branches or pull requests
Am I misunderstanding or should scalars work with sub/mul/div/etc?
The text was updated successfully, but these errors were encountered: