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

Function test_binary_string_pandas_null_sentinels

python/pyarrow/tests/test_array.py:2588–2595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2586
2587@pytest.mark.numpy
2588def test_binary_string_pandas_null_sentinels():
2589 # ARROW-6227
2590 def _check_case(ty):
2591 arr = pa.array(['string', np.nan], type=ty, from_pandas=True)
2592 expected = pa.array(['string', None], type=ty)
2593 assert arr.equals(expected)
2594 _check_case('binary')
2595 _check_case('utf8')
2596
2597
2598@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

_check_caseFunction · 0.85

Tested by

no test coverage detected