size {SparkR}R Documentation

size

Description

Returns length of array or map.

Usage

## S4 method for signature 'Column'
size(x)

size(x)

Arguments

x

Column to compute on

Note

size since 1.5.0

See Also

Other collection_funcs: array_contains, array_contains, array_contains,Column-method; explode, explode, explode,Column-method; posexplode, posexplode, posexplode,Column-method; sort_array, sort_array, sort_array,Column-method

Examples

## Not run: size(df$c)

[Package SparkR version 2.0.2 Index]