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