-
Notifications
You must be signed in to change notification settings - Fork 22
Bug: Include military time for semantic infer #250
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
Conversation
|
KristijanArmeni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wonderful, thank you for adding @JMCulhane! A minor comment in the codebase itself. And just two thoughts:
- Adding unit tests. Could we add a short unit test in
preprocessing/test_series_semantic.pythat will test this helper function? (see the example for timezone parsing helper.) - If this addresses only a subpart of #249, perhaps we can create sub-issue for just the military time handling which this PR addresses?
It's great to split it in small chunks otherwise. I think if we add tests, I'd merge this and can ship with v0.10.0. And we can address follow-ups separately.
KristijanArmeni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @JMCulhane, looks good.
Pull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Currently, the CLI has trouble recognizing 24 hour/military time format. Included in this PR is a new series_Semantic case along with a parsing function to handle flexible time formats.
What is the new behavior?
The time type will be recognized and parsed. This is a subissue (Issue 265) of Issue 249 and is the first step in updating the CLI so that it can handle separate columns.
Does this introduce a breaking change?