snowflake.snowpark.functions.log10¶

snowflake.snowpark.functions.log10(x: Union[Column, str, int, float]) → Column[source]¶

Returns the base-10 logarithm of x.

Example:

>>> df = session.create_dataframe([1, 10], schema=["a"])
>>> df.select(log10(df["a"]).alias("log10")).collect()
[Row(LOG10=0.0), Row(LOG10=1.0)]
Copy