-
Notifications
You must be signed in to change notification settings - Fork 473
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
Implement broadcast arrays #1410
base: master
Are you sure you want to change the base?
Conversation
I think I need this. I want to be able to broadcast a quantity to a dataframe thusly: x['foo'] = Q_(1.0, ureg('m')) Presently I get this error message:
If I manually create a PintArray based on the length of X and do some extra work I can cause my scalar quantity to become part of the X dataframe. But a broadcast feature would be wonderful. |
@hgrecco - the previous tests failed on install of uncertainties==3.0.1 |
Note that you can work around this by setting |
@hgrecco this seems to be passing and ready to merge - any other comments? |
could you change the line in CHANGES to be for the newest version? |
CodSpeed Performance ReportMerging #1410 will not alter performanceComparing Summary
|
I implemented broadcast_arrays after this PR (didn't see this one, my bad) |
pre-commit run --all-files
with no errors