dataFrame.column.encode — uri()

Description

The uri() method of the encode object returns the values of the selected column encoded using URI encoding.

Signature

dataFrame.columns(columnNames).encode.uri()
Scope
dataFrame
Family
encode
Returns
array

Argument

columnNames ( string[] )
The name of the column containing the values to encode.

Returns

mask ( string[] )
An array containing the encoded values.

Example

// encode values from a column of the dataFrame
var mask = dataFrame.column('col_1').encode.uri();

// add encoded values to the dataFrame
dataFrame.column('values').set(mask);