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

Function test_platform_numpy_integers

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

Source from the content-addressed store, hash-verified

282
283@pytest.mark.pandas
284def test_platform_numpy_integers(version):
285 data = {}
286
287 numpy_dtypes = ['longlong']
288 num_values = 100
289
290 for dtype in numpy_dtypes:
291 values = np.random.randint(0, 100, size=num_values)
292 data[dtype] = values.astype(dtype)
293
294 df = pd.DataFrame(data)
295 _check_pandas_roundtrip(df, version=version)
296
297
298@pytest.mark.pandas

Callers

nothing calls this directly

Calls 1

_check_pandas_roundtripFunction · 0.70

Tested by

no test coverage detected