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

Method clear_divisions

dask/dataframe/dask_expr/_collection.py:422–427  ·  view source on GitHub ↗

Forget division information. This is useful if the divisions are no longer meaningful.

(self)

Source from the content-addressed store, hash-verified

420 self._expr = expr.ColumnsSetter(self, columns)
421
422 def clear_divisions(self):
423 """Forget division information.
424
425 This is useful if the divisions are no longer meaningful.
426 """
427 return new_collection(expr.ClearDivisions(self))
428
429 def __len__(self):
430 return new_collection(Len(self)).compute()

Callers

nothing calls this directly

Calls 1

new_collectionFunction · 0.90

Tested by

no test coverage detected