SparkR (version 2.1.2)

size: size

Description

Returns length of array or map.

Usage

size(x)

# S4 method for Column size(x)

Arguments

x

Column to compute on

See Also

Other collection_funcs: array_contains, explode, posexplode, sort_array

Examples

Run this code
# NOT RUN {
size(df$c)
# }

Run the code above in your browser using DataLab