-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Allow map with abc mapping #29788
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
WillAyd
merged 19 commits into
pandas-dev:master
from
ohad83:BUG-allow-map-with-abc-mapping
Jan 2, 2020
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8bbe838
BUG - Allow a mapper of type collections.abc.Mapping when using
ohad83 a5be925
BUG - Fixed Series.map to work with no-missing ABC Mapping
ohad83 e9d772a
TST - Added a test for Series.map with dict-like (abc.Mapping) mapper
ohad83 1aeb197
BUG - In Series.map, only look for __missing__ if the mapper is a dict
ohad83 e866095
CLN - Add a newline for readability
ohad83 3c00d57
CLN - Import sorting fix
ohad83 64df513
DOC - Added collections.abc.Mapping to arg doc of Series.map
ohad83 d823d5d
DOC - Removed superfluous 'dict' from Series.map argument description
ohad83 fa83960
TST - Moved NonDictMapping test util class to pandas/util/testing.py
ohad83 e536b4d
CLN - Better way to import from collections.abc
ohad83 102b82a
Revert "CLN - Better way to import from collections.abc"
ohad83 2cb36bb
DOC - Type fix
ohad83 3074c8c
CLN - remove example.feather which was mistakenly added
ohad83 49637e1
CLN: Checking is_dict_like instead of is abc.Mapping
ohad83 08403e9
CLN: Changed import sorting
ohad83 97d245d
use fixtures
jreback 5dcb9a6
removed uneeded import
jreback 8d3f279
moar uneeded imports
jreback f8eebc2
missing import
jreback 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.