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

Function test_na_float

python/pyarrow/tests/interchange/test_interchange_spec.py:123–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_na_float():
124 table = pa.table({"a": [1.0, None, 2.0]})
125 df = table.__dataframe__()
126 col = df.get_column_by_name("a")
127 assert col.null_count == 1
128 assert isinstance(col.null_count, int)
129
130
131def test_noncategorical():

Callers

nothing calls this directly

Calls 2

__dataframe__Method · 0.80
get_column_by_nameMethod · 0.80

Tested by

no test coverage detected