Numeric
src.dx.datatypes.numeric.generate_integer_series(num_rows, value_min=-100, value_max=100)
Generate a series of random integer
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
value_min |
int
|
Minimum value to generate |
-100
|
value_max |
int
|
Maximum value to generate |
100
|
Source code in src/dx/datatypes/numeric.py
src.dx.datatypes.numeric.generate_float_series(num_rows, value_min=0, value_max=0)
Generate a series of random float
values.
(value_min
and value_max
both set to 0
by default since a random 0.0
-1.0
is added.)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
value_min |
int
|
Minimum value to generate |
0
|
value_max |
int
|
Maximum value to generate |
0
|
Source code in src/dx/datatypes/numeric.py
src.dx.datatypes.numeric.generate_decimal_series(num_rows, value_min=0, value_max=0)
Generate a series of random decimal.Decimal
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
value_min |
int
|
Minimum value to generate |
0
|
value_max |
int
|
Maximum value to generate |
0
|
Source code in src/dx/datatypes/numeric.py
src.dx.datatypes.numeric.generate_complex_number_series(num_rows)
Generate a series of random complex numbers.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |