1.6 KiB
1.6 KiB
title | description | aliases | menu | weight | related | flux/v0.x/tags | introduced | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skew() function | The `skew()` function outputs the skew of non-null records as a float. |
|
|
102 |
|
|
0.7.0 |
The skew()
function outputs the skew of non-null records as a float.
skew()
is an aggregate function.
Output data type: Float
skew(column: "_value")
Parameters
column
The column on which to operate.
Default is "_value"
.
tables
Input data.
Default is piped-forward data (<-
).
Examples
{{% flux/sample-example-intro %}}
import "sampledata"
sampledata.int()
|> skew()
{{< expand-wrapper >}} {{% expand "View input and output" %}} {{< flex >}} {{% flex-content %}}
Input data
{{% flux/sample "int" %}}
{{% /flex-content %}} {{% flex-content %}}
Output data
tag | _value |
---|---|
t1 | -0.22375476930534782 |
tag | _value |
---|---|
t2 | -0.01972080701262574 |
{{% /flex-content %}} | |
{{< /flex >}} | |
{{% /expand %}} | |
{{< /expand-wrapper >}} |