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

Method test_empty_category

python/pyarrow/tests/test_pandas.py:3134–3137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3132 pd.Categorical(['a', 'b', 'c'], categories=['a', 'b'])
3133
3134 def test_empty_category(self):
3135 # ARROW-2443
3136 df = pd.DataFrame({'cat': pd.Categorical([])})
3137 _check_pandas_roundtrip(df)
3138
3139 def test_category_zero_chunks(self):
3140 # ARROW-5952

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected