Share via


Functions.Log Method

Definition

Overloads

Log(Double, Column)

Computes the first argument-base logarithm of the second argument.

Log(Double, String)

Computes the first argument-base logarithm of the second argument.

Log(Column)

Computes the natural logarithm of the given value.

Log(String)

Computes the natural logarithm of the given value.

Log(Double, Column)

Computes the first argument-base logarithm of the second argument.

public static Microsoft.Spark.Sql.Column Log (double logBase, Microsoft.Spark.Sql.Column column);
static member Log : double * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Log (logBase As Double, column As Column) As Column

Parameters

logBase
Double

Base for logarithm

column
Column

Column to apply

Returns

Column object

Applies to

Log(Double, String)

Computes the first argument-base logarithm of the second argument.

public static Microsoft.Spark.Sql.Column Log (double logBase, string columnName);
static member Log : double * string -> Microsoft.Spark.Sql.Column
Public Shared Function Log (logBase As Double, columnName As String) As Column

Parameters

logBase
Double

Base for logarithm

columnName
String

Column name

Returns

Column object

Applies to

Log(Column)

Computes the natural logarithm of the given value.

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

Parameters

column
Column

Column to apply

Returns

Column object

Applies to

Log(String)

Computes the natural logarithm of the given value.

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

Parameters

columnName
String

Column name

Returns

Column object

Applies to