MCPcopy Create free account
hub / github.com/apache/arrow / test_all_null_category

Function test_all_null_category

python/pyarrow/tests/test_feather.py:444–448  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

442
443@pytest.mark.pandas
444def test_all_null_category(version):
445 # ARROW-1188
446 df = pd.DataFrame({"A": (1, 2, 3), "B": (None, None, None)})
447 df = df.assign(B=df.B.astype("category"))
448 _check_pandas_roundtrip(df, version=version)
449
450
451@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

assignMethod · 0.80
_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected