Skip to content

Commit 1fc2113

Browse files
restore pyarrow_numpy as option for now
1 parent a9c466b commit 1fc2113

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

pandas/core/config_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def is_terminal() -> bool:
460460
"string_storage",
461461
"python",
462462
string_storage_doc,
463-
validator=is_one_of_factory(["python", "pyarrow"]),
463+
validator=is_one_of_factory(["python", "pyarrow", "pyarrow_numpy"]),
464464
)
465465

466466

pandas/tests/arrays/string_/test_string.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,6 @@ def test_arrow_roundtrip(dtype, string_storage2, request, using_infer_string):
501501
reason="infer_string takes precedence over string storage"
502502
)
503503
)
504-
if string_storage2 == "pyarrow_numpy":
505-
# we cannot set "pyarrow_numpy" as storage option anymore, need to
506-
# update the tests for this
507-
request.applymarker(pytest.mark.xfail(reason="TODO(infer_string)"))
508504

509505
data = pd.array(["a", "b", None], dtype=dtype)
510506
df = pd.DataFrame({"a": data})
@@ -535,8 +531,6 @@ def test_arrow_load_from_zero_chunks(
535531
reason="infer_string takes precedence over string storage"
536532
)
537533
)
538-
if string_storage2 == "pyarrow_numpy":
539-
request.applymarker(pytest.mark.xfail(reason="TODO(infer_string)"))
540534

541535
data = pd.array([], dtype=dtype)
542536
df = pd.DataFrame({"a": data})

0 commit comments

Comments
 (0)