Skip to content

CLN: parse_date compat function #26038

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 2 commits into from
Apr 12, 2019
Merged

Conversation

mroeschke
Copy link
Member

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

More compat/__init__.py cleaning.

Remove parse_date in favor of dateutil.parser.parse directly. pandas min dateutil version is 2.5.0 so the import check is unnecessary.

@mroeschke mroeschke added this to the 0.25.0 milestone Apr 10, 2019

# dateutil minimum version
import dateutil

Copy link
Contributor

Choose a reason for hiding this comment

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

we prob need to add a check on setup.py i think though

Copy link
Member Author

Choose a reason for hiding this comment

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

dateutil is a required dependency though. Not sure why we would need a check.

Copy link
Contributor

Choose a reason for hiding this comment

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

and this is where its guaranteed no? though I guess its the same as with numpy. you can install an older version but that would break in weird ways, so ok .

@codecov
Copy link

codecov bot commented Apr 10, 2019

Codecov Report

Merging #26038 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26038      +/-   ##
==========================================
- Coverage   91.89%   91.89%   -0.01%     
==========================================
  Files         175      175              
  Lines       52478    52480       +2     
==========================================
  Hits        48227    48227              
- Misses       4251     4253       +2
Flag Coverage Δ
#multiple 90.45% <ø> (ø) ⬆️
#single 40.74% <ø> (-0.14%) ⬇️
Impacted Files Coverage Δ
pandas/compat/__init__.py 77.5% <ø> (-0.15%) ⬇️
pandas/io/gbq.py 75% <0%> (-12.5%) ⬇️
pandas/core/frame.py 96.79% <0%> (-0.12%) ⬇️
pandas/_typing.py 100% <0%> (ø) ⬆️
pandas/core/arrays/base.py 98.34% <0%> (ø) ⬆️
pandas/core/arrays/sparse.py 92.2% <0%> (ø) ⬆️
pandas/util/testing.py 90.72% <0%> (+0.1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2769ebf...91b813e. Read the comment docs.

@jreback jreback merged commit 685d31f into pandas-dev:master Apr 12, 2019
@jreback
Copy link
Contributor

jreback commented Apr 12, 2019

thanks!

@mroeschke mroeschke deleted the cln_dateutil_parse branch April 12, 2019 15:31
yhaque1213 pushed a commit to yhaque1213/pandas that referenced this pull request Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants