times
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
For more information: See times on the documentation website.
Example
// In a DataFrame with distances in kilometers,
// convert them to meters
val distanceMeters = df.distanceKm * 1000Return
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.
Returns a ColumnReference containing the results of multiplying each element of this ColumnReference by value.
For more information: See times on the documentation website.
Example
// In a DataFrame with distances in kilometers,
// convert them to meters
val distanceMeters = df.distanceKm * 1000Return
A ColumnReference containing the results of multiplying each element of this ColumnReference by value.
Parameters
The value to multiply each element of this ColumnReference by.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
null values are not changed by this operation.
For more information: See times on the documentation website.
Example
// In a DataFrame with distances in kilometers,
// convert them to meters
val distanceMeters = df.distanceKm * 1000Return
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
For more information: See times on the documentation website.
Example
// In a DataFrame with distances in kilometers,
// convert them to meters
val distanceMeters = df.distanceKm * 1000.0Return
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
For more information: See times on the documentation website.
Example
// In a DataFrame with distances in kilometers,
// convert them to meters
val distanceMeters = df.distanceKm * 1000LReturn
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
For more information: See times on the documentation website.
Example
// In a DataFrame of product prices, compute the price including a 20% tax
val priceWithTax = df.price * BigDecimal("1.20")Return
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.
Returns a DataColumn containing the results of multiplying each element of this DataColumn by value.
For more information: See times on the documentation website.
Example
// In a DataFrame of file sizes in bits, compute the total size of multiple copies of each file
val totalSize = df.fileSize * BigInteger("12345")Return
A DataColumn containing the results of multiplying each element of this DataColumn by value.
Parameters
The value to multiply each element of this DataColumn by.