Skip to content

Commit e6be3d3

Browse files
committed
COMPAT for padnas 0.20.0
1 parent 556205d commit e6be3d3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

pandas_datareader/_utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from distutils.version import LooseVersion
33

44
import pandas as pd
5-
from pandas.core.common import PandasError
65
from pandas import to_datetime
76

87
import requests
@@ -45,7 +44,7 @@ class SymbolWarning(UserWarning):
4544
pass
4645

4746

48-
class RemoteDataError(PandasError, IOError):
47+
class RemoteDataError(IOError):
4948
pass
5049

5150

pandas_datareader/edgar.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
from pandas import read_csv
77
from pandas import DataFrame
88
from pandas import to_datetime
9-
from pandas.io.common import ZipFile
9+
from zipfile import ZipFile
1010
from pandas.compat import StringIO
11-
from pandas.core.common import is_number
11+
from pandas.api.types import is_number
1212

1313
from pandas_datareader.base import _BaseReader
1414
from pandas_datareader.compat import BytesIO

pandas_datareader/famafrench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import tempfile
22
import re
33
import datetime as dt
4-
from pandas.io.common import ZipFile
4+
from zipfile import ZipFile
55
from pandas.compat import lmap, StringIO
66
from pandas import read_csv, to_datetime
77

0 commit comments

Comments
 (0)