diff --git a/bisect/35977.py b/bisect/35977.py new file mode 100644 index 0000000000000..afdb86d607b79 --- /dev/null +++ b/bisect/35977.py @@ -0,0 +1,7 @@ +import pandas as pd + +print(pd.__version__) +df = pd.DataFrame({"a": ["a", "b", "c"], "b": ["d", "", ""]}, dtype="string") + +df.replace(r"^\s*$", pd.NA, regex=True, inplace=True) +print(df)