Functions.Log2 Method

Definition

Overloads

Log2(Column)

Computes the logarithm of the given column in base 2.

Log2(String)

Computes the logarithm of the given column in base 2.

Log2(Column)

Computes the logarithm of the given column in base 2.

public static Microsoft.Spark.Sql.Column Log2 (Microsoft.Spark.Sql.Column column);
static member Log2 : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Log2 (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Applies to

Log2(String)

Computes the logarithm of the given column in base 2.

public static Microsoft.Spark.Sql.Column Log2 (string columnName);
static member Log2 : string -> Microsoft.Spark.Sql.Column
Public Shared Function Log2 (columnName As String) As Column

Parameters

columnName
String

Column name

Returns

Column object

Applies to