entropy
Calculates Shannon entropy for a column of values.
Syntax
Arguments
val— Column of values of any type.
Returned value
- Shannon entropy.
Type: Float64.
Example
Query:
Result:
entropy
Introduced in: v20.1
Calculates the Shannon entropy for a column of values.
Syntax
Arguments
val— Column of values of any type.Any
Returned value
Returns Shannon entropy. Float64
Examples
Basic entropy calculation