Skip to content

Commit 37252ef

Browse files
committed
TST (string-dtype): Adjust indexes string tests
1 parent b6f7130 commit 37252ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/config_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ def register_converter_cb(key: str) -> None:
873873
with cf.config_prefix("future"):
874874
cf.register_option(
875875
"infer_string",
876-
True,
876+
True if os.environ.get("PANDAS_FUTURE_INFER_STRING", "0") == "1" else False,
877877
"Whether to infer sequence of str objects as pyarrow string "
878878
"dtype, which will be the default in pandas 3.0 "
879879
"(at which point this option will be deprecated).",

0 commit comments

Comments
 (0)