MCPcopy
hub / github.com/dask/dask / test_parquet_missing_stats

Function test_parquet_missing_stats

dask/dataframe/dask_expr/io/tests/test_parquet.py:57–68  ·  view source on GitHub ↗
(tmpdir, filesystem)

Source from the content-addressed store, hash-verified

55
56
57def test_parquet_missing_stats(tmpdir, filesystem):
58 _make_file(tmpdir)
59 _make_file(tmpdir, write_statistics=["a", "b"], filename="bla.parquet")
60
61 result = read_parquet(tmpdir, filesystem=filesystem)
62 expected = pd.concat(
63 [
64 pd.DataFrame({c: range(10) for c in "abcde"}),
65 pd.DataFrame({c: range(10) for c in "abcde"}),
66 ]
67 )
68 assert_eq(result, expected, check_index=False)
69
70
71@pytest.mark.parametrize("val", [np.nan, 1])

Callers

nothing calls this directly

Calls 3

read_parquetFunction · 0.90
assert_eqFunction · 0.90
_make_fileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…