Skip to content

Separate parsing functions out from tslib #17363

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

Merged
merged 20 commits into from
Sep 26, 2017
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint fixup
  • Loading branch information
jbrockmendel committed Aug 30, 2017
commit c765e26c6fd30e07e987b404ec0d8a3e23d770f7
6 changes: 2 additions & 4 deletions pandas/core/tools/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from collections import MutableMapping

from pandas._libs import lib, tslib
from pandas._libs.tslib import (
from pandas._libs.tslib import ( # noqa
parse_time_string,
_format_is_iso,
Copy link
Contributor

Choose a reason for hiding this comment

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

can come back in future and de-privatize these in tslib.parsing (and change here)

Copy link
Member Author

Choose a reason for hiding this comment

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

Just added to TODO list in #17652

_DATEUTIL_LEXER_SPLIT,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think _DATEUTIL_LEXER_SPLIT Is now private to tstlib.parsing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Just pushed a commit that removes this import.

Expand All @@ -22,12 +22,10 @@
is_numeric_dtype)
from pandas.core.dtypes.generic import (
ABCIndexClass, ABCSeries,
ABCDataFrame, ABCDateOffset)
ABCDataFrame)
from pandas.core.dtypes.missing import notna
from pandas.core import algorithms

import pandas.compat as compat


def _infer_tzinfo(start, end):
def _infer(a, b):
Expand Down