Skip to content

Commit dafe5e1

Browse files
committed
add collections.abc for python3.7
1 parent d0ae375 commit dafe5e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/io/formats/style.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
Module for applying conditional formatting to
33
DataFrames and Series.
44
"""
5-
from collections import MutableMapping, defaultdict
5+
try:
6+
from collections.abc import MutableMapping
7+
except ImportError:
8+
from collections import MutableMapping
9+
from collections import defaultdict
610
from contextlib import contextmanager
711
import copy
812
from functools import partial

0 commit comments

Comments
 (0)