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

Function _check_case

python/pyarrow/tests/test_array.py:2590–2593  ·  view source on GitHub ↗
(ty)

Source from the content-addressed store, hash-verified

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

Calls 2

equalsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected