first() function
The first()
function selects the first non-null record from an input table.
first()
is a selector function.
first()
Empty tables
first()
drops empty tables.
Parameters
tables
Input data.
Default is piped-forward data (<-
).
Examples
The following example uses data provided by the sampledata
package
to show how first()
transforms data.
import "sampledata"
sampledata.int()
|> first()
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.