Skip to main content

pseudo

The pseudo command generates pseudorandom data for testing and development.

Syntax

qsv pseudo [options] <schema> [<output_file>]

Description

The pseudo command is used to generate pseudorandom data based on a specified schema. This is useful for testing and development purposes.

Options

  • --no-headers: When set, the first row will not be interpreted as headers
  • --rows <number>: Specify the number of rows to generate

Examples

Generate Pseudorandom Data

Generate 100 rows of pseudorandom data based on a specified schema:

qsv pseudo --rows 100 "id:int, name:string, age:int" output.csv

Common Use Cases

  • Testing and development
  • Generating sample data for demonstrations

Tips

  • Verify the output to ensure the data is correctly generated
  • Use in combination with other commands for complex data processing

See Also

  • select - for selecting specific columns
  • apply - for data transformations