Skip to content

Remove chainmap_impl compat code #25840

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
Mar 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions pandas/compat/chainmap.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
try:
from collections import ChainMap
except ImportError:
from pandas.compat.chainmap_impl import ChainMap
from collections import ChainMap


class DeepChainMap(ChainMap):
Expand Down
157 changes: 0 additions & 157 deletions pandas/compat/chainmap_impl.py

This file was deleted.

3 changes: 1 addition & 2 deletions pandas/compat/numpy/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@

from numpy import ndarray

from pandas._libs.lib import is_bool, is_integer
from pandas.errors import UnsupportedFunctionCall
from pandas.util._validators import (
validate_args, validate_args_and_kwargs, validate_kwargs)

from pandas.core.dtypes.common import is_bool, is_integer


class CompatValidator(object):

Expand Down