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
Users sometimes attempt to set a value on dataframe slices that are actually copies of the original dataframe. This does not usually error, but instead often silently results in downstream results being incorrect. This is common enough in pandas that they've included a warning to inform users of when this is happening. We should explore implementing something similar.
copy-on-write is available as of pandas 2.0 and will become the default in pandas 3.0. This feature is also available in cudf #12011. With copy-on-write, the need for the SettingWithCopyWarning goes away. Given that this is the (not too distant) future, there is no need to mirror this behavior in cudf since it has a clear timeline to be removed from pandas.
Users sometimes attempt to set a value on dataframe slices that are actually copies of the original dataframe. This does not usually error, but instead often silently results in downstream results being incorrect. This is common enough in pandas that they've included a warning to inform users of when this is happening. We should explore implementing something similar.
See this portion of the pandas codebase for more information.
The text was updated successfully, but these errors were encountered: