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)
| 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 |
nothing calls this directly
no test coverage detected