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

Function test_nan_as_null

python/pyarrow/tests/test_feather.py:460–464  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

458
459@pytest.mark.pandas
460def test_nan_as_null(version):
461 # Create a nan that is not numpy.nan
462 values = np.array(['foo', np.nan, np.nan * 2, 'bar'] * 10)
463 df = pd.DataFrame({'strings': values})
464 _check_pandas_roundtrip(df, version=version)
465
466
467@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

_check_pandas_roundtripFunction · 0.70
arrayMethod · 0.45

Tested by

no test coverage detected