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

Update date range frequency from '15T' to '15min' in example data generation and fixture files #11

Merged

Conversation

sTomerG
Copy link
Contributor

@sTomerG sTomerG commented Sep 20, 2024

closes #10

Description

This pull request refines the frequency parameter in date range generation within the following files:

  • docs/data/generate_example_data.py
  • tests/fixtures/dt_index_fixtures.py

Changes include:

  1. Updated the frequency argument in pd.date_range() from '15T' to '15min' for clarity and consistency.
  2. Applied changes in both the example data generation script and the fixture files used for testing date ranges across various time zones (e.g., Europe/Amsterdam, America/New_York, UTC).

These adjustments enhance code readability by making the frequency parameter more explicit without affecting the functionality or output.

Testing:
All tests utilizing the modified fixtures pass as expected, confirming that the change does not introduce any regressions.

@leonoverweel leonoverweel merged commit c8e0781 into leonoverweel:main Sep 26, 2024
3 checks passed
@leonoverweel
Copy link
Owner

Thx!

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

Successfully merging this pull request may close these issues.

Deprecation Warnings for pd.date_range using 'T'
2 participants