Skip to content

Commit 40b5b00

Browse files
[NOT FOR MERGE] Test enabling Copy-on-Write by default
1 parent 4eaf840 commit 40b5b00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/config_init.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,7 @@ def use_inf_as_na_cb(key) -> None:
476476
"copy_on_write",
477477
# Get the default from an environment variable, if set, otherwise defaults
478478
# to False. This environment variable can be set for testing.
479-
"warn"
480-
if os.environ.get("PANDAS_COPY_ON_WRITE", "0") == "warn"
481-
else os.environ.get("PANDAS_COPY_ON_WRITE", "0") == "1",
479+
True,
482480
copy_on_write_doc,
483481
validator=is_one_of_factory([True, False, "warn"]),
484482
)

0 commit comments

Comments
 (0)