-
Notifications
You must be signed in to change notification settings - Fork 915
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
[REVIEW] Upgrade pandas to 1.2 #7375
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
155f10f
fix issues with updating to latest pandas
galipremsagar 0ec247e
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar 454ecf5
remove xfails and fix issues
galipremsagar a1a928d
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar 303c77d
fix isin and misc tests
galipremsagar 18d1fb3
remove redundant code
galipremsagar b727253
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar 01afece
fix more issues
galipremsagar 691d154
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar c7c47b5
fix lots of deprecated warnings
galipremsagar d106b79
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar aea3313
fix multiple warnings
galipremsagar 9fdbfe7
unpin pandas
galipremsagar 27a782b
cleanup
galipremsagar 3cde2ef
cleanup
galipremsagar 9a3b51a
copyright
galipremsagar 2f8fe18
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar 7a534b0
pin pandas upper bound version
galipremsagar 81d9b5d
use only minor version
galipremsagar 14e8c0e
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar c5b83a2
use functools for finding union
galipremsagar 5e6855d
add utility for creating a pandas series and refactor imports in test…
galipremsagar ea61733
remove is_scalar check
galipremsagar d8ca966
version all pytest xfails
galipremsagar 8d079f0
add check_order flag
galipremsagar d8ff534
remove version for cudf apis
galipremsagar a0637b9
make importing cudf uniform in pytests
galipremsagar b63ae03
refactor imports to be uniform and less confusing
galipremsagar c3c3e68
remove versioning of cudf api call
galipremsagar 992b483
Update python/cudf/cudf/tests/test_setitem.py
galipremsagar 355e192
remove double validation
galipremsagar 3942cf1
Merge branch '7367' of https://github.com/galipremsagar/cudf into 7367
galipremsagar 8d06667
move datetime / duration isin logic to a common utility
galipremsagar 032378d
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar dd842f3
add atol
galipremsagar 9fe44cd
rename internal api
galipremsagar da1a3a3
fix categorical setitem and allow np.nan into categories
galipremsagar e70686f
add nan setitem test
galipremsagar 39ba07a
make null checks and to_pandas code flow more effecient
galipremsagar 2cc496d
fix repr
galipremsagar 0bd3bba
fix typo
galipremsagar 3d44f5f
fix typo
galipremsagar c1c2d96
update index code
galipremsagar 19ae2f6
Merge remote-tracking branch 'upstream/branch-0.19' into 7367
galipremsagar ae1b8c6
add packaging conda install
galipremsagar 416bc92
Merge branch 'branch-0.19' into 7367
galipremsagar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Copyright (c) 2020, NVIDIA CORPORATION. | ||
# Copyright (c) 2020-2021, NVIDIA CORPORATION. | ||
|
||
import pandas as pd | ||
from packaging import version | ||
|
||
PANDAS_VERSION = version.parse(pd.__version__) | ||
PANDAS_GE_100 = PANDAS_VERSION >= version.parse("1.0") | ||
PANDAS_GE_110 = PANDAS_VERSION >= version.parse("1.1") | ||
PANDAS_GE_120 = PANDAS_VERSION >= version.parse("1.2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does this need to be added to the
integration
repo as well?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.
Would defer to @ajschmidt8 here, there was a build job-related failure at this line https://github.com/rapidsai/cudf/blob/branch-0.19/ci/cpu/build.sh#L78-L79 so AJ suggested we add it here.
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.
yup, i will open a PR.
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.
rapidsai/integration#225
Feel free to review. I will wait to merge until this PR is confirmed passing also.