dataFrame.column.encode — base64()
Description
The base64() method of the encode object returns the values of the selected column encoded in Base64.
Signature
dataFrame.columns(columnNames).encode.base64()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.base64();
// add encoded values to the dataFrame
dataFrame.column('values').set(mask);