Sample and Expand Vector

This node samples and/or expands a String/Double Vector to individual columns using random sampling.

Options

Standard Options

Vector column
The column containing the vector
Remove original column?
Should we remove the source vector column?
Number of elements
How many elements to sample. If this number exceeds the number elements available the maximum possible number will be used.
Static seed?
Use static seed for randomness?
The static random seed
The seed for the random number generation
Expand elements to individual columns?
Should we create a new vector or a series of columns?
Use vector element names if available?
Should we use the names of the elements contained in the vector if available?
Prefix/name for new column(s)
If the vector element names should not be used or they are not available the specified Prefix will be used to create new column names. If empty the default prefix is 'column_'

Input Ports

Icon
Table containing at least one double vector column.

Output Ports

Icon
Table with generated columns.
Icon
Table with list of sampled columns.

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.