sub-.tbl_spark: Subsetting operator for Spark dataframe

[.tbl_sparkR Documentation

Subsetting operator for Spark dataframe

Description

Susetting operator for Spark dataframe allowing a subset of column(s) to be selected using syntaxes similar to those supported by R dataframes

Usage

## S3 method for class 'tbl_spark'
x[i]

Arguments

x

The Spark dataframe

i

Expression specifying subset of column(s) to include or exclude from the result (e.g., '["col1"]', '[c("col1", "col2")]', '[1:10]', '[-1]', '[NULL]', or '[]')


rstudio/sparklyr documentation built on Sept. 18, 2024, 6:10 a.m.