MCPcopy Create free account
hub / github.com/dask/dask / test_arrow_string_option

Function test_arrow_string_option

dask/dataframe/dask_expr/tests/test_datasets.py:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def test_arrow_string_option():
35 df = timeseries(dtypes={"x": object, "y": float}, seed=123)
36 result = df.optimize(fuse=False)
37 assert result.x.dtype == "string" if pyarrow_strings_enabled() else object
38 assert result.x.compute().dtype == "string" if pyarrow_strings_enabled() else object
39
40
41def test_column_projection_deterministic():

Callers

nothing calls this directly

Calls 4

timeseriesFunction · 0.90
pyarrow_strings_enabledFunction · 0.90
optimizeMethod · 0.45
computeMethod · 0.45

Tested by

no test coverage detected