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

Method test_all_none_category

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

Source from the content-addressed store, hash-verified

3046 _check_pandas_roundtrip(df)
3047
3048 def test_all_none_category(self):
3049 df = pd.DataFrame({'a': [None, None, None]})
3050 df['a'] = df['a'].astype('category')
3051 _check_pandas_roundtrip(df)
3052
3053 def test_categorical_with_timezone(self):
3054 # GH-49875: timezone was dropped when converting tz-aware categorical

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected