schema.sampleargs.proportion.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/schema > SampleArgs > proportion

SampleArgs.proportion property

If table size is unknown ahead of time, specify a proportion of rows to sample. If size is specified, it will be used instead, otherwise computed from this proportion using the table.numRows()

Signature:

proportion?: number;