Use the SampleRows gem to sample records by choosing a specific number or percentage of records.Documentation Index
Fetch the complete documentation index at: https://docs.prophecy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Parameter | Description |
|---|---|
| Sampling strategy | An option between sampling by number of records or percentage of records |
| Sampling ratio | The ratio of records that you wish to sample |
| Random seed | A number that lets you reproduce the random sample |
| With replacement | When enabled, this allows records to be returned to the sample pool after selection |

