docs-v2/content/flux/v0.x/stdlib/experimental/preview.md

858 B

title description menu weight flux/v0.x/tags introduced
experimental.preview() function `experimental.preview()` limits the number of rows and tables in the stream.
flux_0_x_ref
name parent
experimental.preview experimental
302
transformations
0.167.0

experimental.preview() limits the number of rows and tables in the stream.

import "experimental"

data
    |> experimental.preview()

Parameters

nrows

Maximum number of rows per table to return. Default is 5.

ntables

Maximum number of tables to return. Default is 5.

tables

Input data. Default is piped-forward data (<-).

Examples

Preview data output

import "experimental"
import "sampledata"

sampledata.int()
    |> experimental.preview(nrows: 3)