Datetime
src.dx.datatypes.date_time.generate_datetime_series(num_rows)
Generate a series of random datetime.datetime
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/date_time.py
src.dx.datatypes.date_time.generate_date_series(num_rows)
Generate a series of random datetime.date
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/date_time.py
src.dx.datatypes.date_time.generate_time_series(num_rows)
Generate a series of random datetime.time
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/date_time.py
src.dx.datatypes.date_time.generate_time_period_series(num_rows)
Generate a series of random pd.Period
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/date_time.py
src.dx.datatypes.date_time.generate_time_interval_series(num_rows)
Generate a series of random pd.Interval
values with pd.Timestamp
left/right values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |
Source code in src/dx/datatypes/date_time.py
src.dx.datatypes.date_time.generate_time_delta_series(num_rows)
Generate a series of random pd.Timedelta
values.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num_rows |
int
|
Number of rows to generate |
required |