Skip to content

Commit 68fb102

Browse files
authored
fix missing version.parse
1 parent 30b6d87 commit 68fb102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_datareader/compat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pandas.io import common as com
88
from pandas.testing import assert_frame_equal
99

10-
PANDAS_VERSION = LooseVersion(pd.__version__)
10+
PANDAS_VERSION = version.parse(pd.__version__)
1111

1212
PANDAS_0210 = PANDAS_VERSION >= version.parse("0.21.0")
1313
PANDAS_0220 = PANDAS_VERSION >= version.parse("0.22.0")

0 commit comments

Comments
 (0)