posexplode {SparkR}R Documentation

posexplode

Description

Creates a new row for each element with position in the given array or map column.

Usage

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

posexplode(x)

Arguments

x

Column to compute on

Note

posexplode since 2.1.0

See Also

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

Examples

## Not run: posexplode(df$c)

[Package SparkR version 2.1.0 Index]