You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the correction calculation, a pandas deprecation warning pops up.
Steps to Reproduce
No response
Relevant output
FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '-0.039908794432020646' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
optics.twiss.loc[corrector.name, corrector.strength_component] = sign * corrector.value
Possible Fix Implementation
Set dtype of column to float.
The text was updated successfully, but these errors were encountered:
Documentation
Operating System
All
Python Version
All
Package Version
1.1.1
Bug Description
When running the correction calculation, a pandas deprecation warning pops up.
Steps to Reproduce
No response
Relevant output
Possible Fix Implementation
Set dtype of column to float.
The text was updated successfully, but these errors were encountered: