dataFrame.column.str — toUpperCase()

Description

The toUpperCase() method of the str object returns the values of the selected column converted to uppercase.

Signature

dataFrame.column(columnName).str.toUpperCase()
Scope
dataFrame
Family
str
Returns
array

Argument

columnName (string)
The name of the column containing the values to convert.

Returns

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

Example

// convert the values of a column of the dataFrame to uppercase
var mask = dataFrame.column('values').str.toUpperCase();

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