sdf_seq
From sparklyr v1.4.0
by Yitao Li
Create DataFrame for Range
Creates a DataFrame for the given range
Usage
sdf_seq(
sc,
from = 1L,
to = 1L,
by = 1L,
repartition = type,
type = c("integer", "integer64")
)
Arguments
- sc
The associated Spark connection.
- from, to
The start and end to use as a range
- by
The increment of the sequence.
- repartition
The number of partitions to use when distributing the data across the Spark cluster.
- type
The data type to use for the index, either
"integer"
or"integer64"
.
Community examples
Looks like there are no examples yet.