Skip to main content

randomData()

randomData(table, distribution, params, seed): Promise <DataFrame>

Creates a table with random values from the specified distribution. Documentation: https://datagrok.ai/help/transform/random-data See example: https://public.datagrok.ai/js/samples/domains/data-science/random-data

Parameters

ParameterTypeDescription
tableDataFrameData table.
distributionstringDistribution name.
paramsobjectDistribution parameters.
seednumberInitial seed.

Returns

Promise <DataFrame>

Async

Source

src/ml.ts:78