Misc
src.dx.datatypes.misc.generate_boolean_series(num_rows)
Generate a series of random boolean
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_bytes_series(num_rows, n_bytes=10)
Generate a series of random bytes
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
n_bytes |
int
|
Number of bytes to generate per row |
10
|
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_dict_series(num_rows)
Generate a series of random dict
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_dtype_series(num_rows)
Generate a series of random type
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_list_series(num_rows)
Generate a series of random list
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_ipv4_series(num_rows)
Generate a series of random ipaddress.IPv4Address
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_ipv6_series(num_rows)
Generate a series of random ipaddress.IPv6Address
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/misc.py
src.dx.datatypes.misc.generate_uuid4_series(num_rows)
Generate a series of random uuid.UUID
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |