File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- from distutils .version import LooseVersion
2- from functools import reduce
1+ from packaging import version
32from io import StringIO
43from urllib .error import HTTPError
54
87from pandas .io import common as com
98from pandas .testing import assert_frame_equal
109
11- PANDAS_VERSION = LooseVersion (pd .__version__ )
10+ PANDAS_VERSION = version . parse (pd .__version__ )
1211
13- PANDAS_0210 = PANDAS_VERSION >= LooseVersion ("0.21.0" )
14- PANDAS_0220 = PANDAS_VERSION >= LooseVersion ("0.22.0" )
15- PANDAS_0230 = PANDAS_VERSION >= LooseVersion ("0.23.0" )
12+ PANDAS_0210 = PANDAS_VERSION >= version . parse ("0.21.0" )
13+ PANDAS_0220 = PANDAS_VERSION >= version . parse ("0.22.0" )
14+ PANDAS_0230 = PANDAS_VERSION >= version . parse ("0.23.0" )
1615
1716__all__ = [
1817 "HTTPError" ,
You can’t perform that action at this time.
0 commit comments