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

Function _monotonic_aggregate

dask/dataframe/methods.py:515–517  ·  view source on GitHub ↗
(concatenated, prop)

Source from the content-addressed store, hash-verified

513
514
515def _monotonic_aggregate(concatenated, prop):
516 s = pd.Series(concatenated[["first", "last"]].to_numpy().ravel())
517 return concatenated["monotonic"].all() and getattr(s, prop)
518
519
520monotonic_increasing_chunk = partial(_monotonic_chunk, prop="is_monotonic_increasing")

Callers

nothing calls this directly

Calls 2

ravelMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected