-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1119855: Remove modin/pandas/base.py (2/2) (#2167)
<!--- Please answer these questions before creating your pull request. Thanks! ---> 1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR. <!--- In this section, please add a Snowflake Jira issue number. Note that if a corresponding GitHub issue exists, you should still include the Snowflake Jira issue number. For example, for GitHub issue #1400, you should add "SNOW-1335071" here. ---> Fixes SNOW-1119855 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing - [ ] I am adding new logging messages - [ ] I am adding a new telemetry message - [ ] I am adding new credentials - [ ] I am adding a new dependency - [ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes. 3. Please describe how your code solves the related issue. This followup to #2059 removes our vendored copy of `base.py` altogether from the codebase. Many methods are still overridden in `snowflake/snowpark/modin/plugin/extensions/base_overrides.py`, with the reason for overriding each given inline in the comments. These methods are as follows: <details> <summary>list</summary> <ul> <li>agg/aggregate</li> <li>_agg_helper</li> <li>various aggregations (count, max, min, mean, median, std, sum, var)</li> <li>_binary_op</li> <li>_dropna</li> <li>fillna</li> <li>isin</li> <li>quantile</li> <li>_to_series_list</li> <li>shift</li> <li>skew</li> <li>resample</li> <li>expanding</li> <li>rolling</li> <li>indexer properties (iloc, loc, iat, at)</li> <li>__getitem__</li> <li>sort_values</li> <li>where</li> <li>mask</li> <li>to_csv</li> <li>sample</li> <li>pct_change</li> <li>astype</li> <li>drop</li> <li>__len__</li> <li>set_axis</li> <li>describe</li> <li>diff</li> <li>tail</li> <li>idxmax</li> <li>idxmin</li> <li>unary operators (abs, __invert__, __neg__)</li> <li>rename_axis</li> <li>__array__ufunc__</li> <li>reindex</li> <li>_get_index</li> <li>_set_index</li> </ul> </details> Some of these differences can be upstreamed fairly easily, and we will work to upstream them once the updated modin build process for Snowflake becomes clearer. Some methods will require significantly more work to reconcile.
- Loading branch information
1 parent
60ec43a
commit 25c1006
Showing
19 changed files
with
2,298 additions
and
101 deletions.
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
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
Oops, something went wrong.