rail.creation.degraders.addRandom module
Add a column of random numbers to a dataframe.
- class rail.creation.degraders.addRandom.AddColumnOfRandom
Bases:
NoisifierAdd a column of random numbers to a dataframe
- Parameters:
output_mode ([str] default=default) – What to do with the outputs. The options are ‘default’, where outputs will be written to files and some returned, and ‘return’, where outputs will only be returned and not written.
seed ([type not specified] default=None) – Set to an int to force reproducible results.
col_name ([str] default=chaos_bunny) – Name of the column with random numbers
input (PqHandle (INPUT))
output (PqHandle (OUTPUT))
- __init__(args, **kwargs)
Constructor
Does standard Noisifier initialization
- Parameters:
args (Any)
kwargs (Any)
- Return type:
None
- entrypoint_function: str | None = '__call__'
- interactive_function: str | None = 'add_column_of_random'
- name = 'AddColumnOfRandom'