Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend create_dummy_group_date_values with start and end date #5

Open
gabrieleiannetti opened this issue Feb 4, 2020 · 0 comments
Open

Comments

@gabrieleiannetti
Copy link
Contributor

gabrieleiannetti commented Feb 4, 2020

The method for creating test data for the monthly plots should be extended with a start and end date parameter.

Both parameter are set with proper default values.

File: dataset/item_handler.py

New Method Signature: def create_dummy_group_date_values(num_groups=3, max_value=100, start_date='2018-12-01', end_date='2018-12-31')

Tip about the Implementation...

Since the project is already using the pandas framework it should also be used
for generating the specific time range in days:

https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#generating-ranges-of-timestamps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant