head.duckplyr_df {duckplyr} | R Documentation |
Return the First Parts of an Object
Description
This is a method for the head()
generic.
See "Fallbacks" section for differences in implementation.
Return the first rows of a data.frame
Usage
## S3 method for class 'duckplyr_df'
head(x, n = 6L, ...)
Arguments
x |
A data.frame |
n |
A positive integer, how many rows to return. |
... |
Not used yet. |
Fallbacks
There is no DuckDB translation in head.duckplyr_df()
with a negative
n
.
These features fall back to head()
, see vignette("fallback")
for details.
See Also
Examples
head(mtcars, 2)
[Package duckplyr version 1.1.0 Index]