sdf_len: Create DataFrame for Length

View source: R/sdf_sequence.R

sdf_lenR Documentation

Create DataFrame for Length

Description

Creates a DataFrame for the given length.

Usage

sdf_len(sc, length, repartition = NULL, type = c("integer", "integer64"))

Arguments

sc

The associated Spark connection.

length

The desired length 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".


sparklyr documentation built on May 29, 2024, 2:58 a.m.