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

add auto_time_params arg to series init #472

Merged
merged 5 commits into from
Nov 15, 2023
Merged

add auto_time_params arg to series init #472

merged 5 commits into from
Nov 15, 2023

Conversation

alexkjames
Copy link
Contributor

Address Issue #469

I've just added an auto_time_params argument to Series, and nested the time name/unit logic within an if statement that relies on the value of auto_time_params.

This is the simplest fix to issue #469. We discussed having a way to switch a series in between having auto and not auto time params, but I'm not sure this is necessary. If it is I'm happy to create a function to do so, though I might suggest waiting until such a thing is requested/it becomes clear that we need it since creating Series objects is already pretty straightforward.

Was there anything else we wanted to do here?

@alexkjames alexkjames self-assigned this Oct 10, 2023
@CommonClimate
Copy link
Collaborator

Thanks for doing this @alexkjames ! I'll review this week.

@CommonClimate
Copy link
Collaborator

I seem to remember @khider wanting auto_time_params = False by default. Did I misremember?

@khider
Copy link
Member

khider commented Oct 19, 2023

I think we should have it True for a while so it mimics the behavior of the current version and have a warning that it will be set to False in subsequent releases.

@CommonClimate
Copy link
Collaborator

That sounds good. @alexkjames can you do that and update the PR?

@CommonClimate CommonClimate merged commit b13d8db into master Nov 15, 2023
1 check passed
@CommonClimate CommonClimate deleted the time_name branch November 15, 2023 23:05
@CommonClimate
Copy link
Collaborator

closes #469

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.

3 participants