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
Triggered this warning in materialize_nodes() in pandas 2.2.2
/opt/conda/lib/python3.10/site-packages/graphistry/compute/ComputeMixin.py:135: FutureWarning: A value is trying to be set on a copy of a DataFrame or Series through chained assignment using an inplace method.
The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
For example, when doing 'df[col].method(value, inplace=True)', try using 'df.method({col: value}, inplace=True)' or df[col] = df[col].method(value) instead, to perform the operation inplace on the original object.
nodes_df[col].fillna(0, inplace=True)
/opt/conda/lib/python3.10/site-packages/graphistry/compute/ComputeMixin.py:135: FutureWarning: A value is trying to be set on a copy of a DataFrame or Series through chained assignment using an inplace method.
The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
For example, when doing 'df[col].method(value, inplace=True)', try using 'df.method({col: value}, inplace=True)' or df[col] = df[col].method(value) instead, to perform the operation inplace on the original object.
nodes_df[col].fillna(0, inplace=True)
Describe the bug
Triggered this warning in
materialize_nodes()
in pandas2.2.2
Relevant line:
pygraphistry/graphistry/compute/ComputeMixin.py
Line 135 in 56d83db
To Reproduce
Expected behavior
No warning
Actual behavior
Warning
Graphistry GPU server environment
Pandas 2.2, PyGraphistry 0.34.3
The text was updated successfully, but these errors were encountered: