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
API: New copy / view semantics using Copy-on-Write (#46958)
* API: New copy / view semantics using Copy-on-Write
* fix more tests
* Handle CoW in BM.iset
* Handle CoW in xs
* add bunch of todo comments and usage warnings
* Insert None ref in BM.insert
* Ensure to not assume copy_on_write is set in case of ArrayManager
* Handle refs in BM._combine / test CoW in select_dtypes
* handle get_numeric_data for single block manager
* fix test_internals (get_numeric_data now uses CoW)
* handle refs in consolidation
* fix deep=None for ArrayManager
* update copy/view tests from other PR
* clean-up fast_xs workarounds now it returns a SingleBlockManager
* tracks refs in to_frame
* fixup after updata main and column_setitem + iloc inplace setitem changes (gh-45333)
* fix inplace fillna + fixup new tests
* address comments + update some todo comments
* Update pandas/core/internals/managers.py
Co-authored-by: Matthew Roeschke <[email protected]>
* fixup linting
* update new copy_view tests to use get_array helper
* add comment to setitem
* switch default to False, ensure CoW copies only happen when enabled + add additional test build with CoW
* update type annotations
* Fix stata issue to avoid SettingWithCopyWarning in read_stata
* update type + option comment
* fixup new rename test
Co-authored-by: Matthew Roeschke <[email protected]>
0 commit comments