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

BUG: Fix handling of ambiguous or nonexistent of start and end times in date_range #27088

Merged
merged 10 commits into from
Jun 28, 2019

Conversation

mroeschke
Copy link
Member

  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Closing a FIXME note in the test suite.

@mroeschke mroeschke changed the title BUG: Fix ambiguous or nonexistent handling of date_range start and end times BUG: Fix handling of ambiguous or nonexistent of start and end times in date_range Jun 27, 2019
@mroeschke mroeschke added Bug Datetime Datetime data dtype Timezones Timezone data dtype labels Jun 27, 2019
@@ -2133,6 +2136,8 @@ def _maybe_localize_point(ts, is_none, is_not_none, freq, tz):
is_not_none : argument that should not be None
freq : Tick, DateOffset, or None
tz : str, timezone object or None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of u feel like typing the args here would be great (or follow up done too)

@jreback jreback added this to the 0.25.0 milestone Jun 28, 2019
@jreback
Copy link
Contributor

jreback commented Jun 28, 2019

lgtm. @mroeschke if you want to add some types great, otherwise pls merge.

@mroeschke mroeschke merged commit e9f9ca1 into pandas-dev:master Jun 28, 2019
@mroeschke
Copy link
Member Author

Thanks. Will add typing in a future PR.

@mroeschke mroeschke deleted the raise_ambiguous_date_range_edge branch June 28, 2019 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants