Skip to content

Commit 790262a

Browse files
update description
1 parent 15a5016 commit 790262a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/config_init.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,10 @@ def register_converter_cb(key: str) -> None:
894894
cf.register_option(
895895
"distinguish_nan_and_na",
896896
os.environ.get("PANDAS_FUTURE_DISTINGUISH_NAN_AND_NA", "0") == "1",
897-
"Whether to treat NaN entries as interchangeable with pd.NA in "
898-
"numpy-nullable and pyarrow float dtypes. See discussion in "
897+
"Whether to treat NaN entries as distinct from pd.NA in "
898+
"numpy-nullable and pyarrow float dtypes. By default treats both "
899+
"interchangeable as missing values (NaN will be coerced to NA). "
900+
"See discussion in "
899901
"https://github.com/pandas-dev/pandas/issues/32265",
900902
validator=is_one_of_factory([True, False]),
901903
)

0 commit comments

Comments
 (0)