MCPcopy
hub / github.com/dask/dask / tail

Method tail

dask/dataframe/dask_expr/_collection.py:701–709  ·  view source on GitHub ↗

Last n rows of the dataset Caveat, the only checks the last n rows of the last partition.

(self, n: int = 5, compute: bool = True)

Source from the content-addressed store, hash-verified

699 return out
700
701 def tail(self, n: int = 5, compute: bool = True):
702 """Last n rows of the dataset
703
704 Caveat, the only checks the last n rows of the last partition.
705 """
706 out = new_collection(expr.Tail(self, n=n))
707 if compute:
708 out = out.compute()
709 return out
710
711 def copy(self, deep: bool = False):
712 """Make a copy of the dataframe

Callers

nothing calls this directly

Calls 2

new_collectionFunction · 0.90
computeMethod · 0.45

Tested by

no test coverage detected