Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Regression in 0.20: IO functions can't handle pathlib.Path objects anymore #16291
Comments
|
Thanks for the report - does still seem to work with some io functions (tried |
chris-b1
added Bug Data IO Regression
labels
May 8, 2017
chris-b1
added this to the
0.20.2
milestone
May 8, 2017
|
|
jreback
closed this
in #16292
May 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mruffalo commentedMay 8, 2017
Code Sample, a copy-pastable example if possible
Problem description
In 0.19, Pandas' IO functions accepted PathLike objects as per PEP 519. This is broken in 0.20.1.
Expected Output
nothing, code should run without errors or output
Actual Output
Output of
pd.show_versions()INSTALLED VERSIONS
commit: None
python: 3.6.1.final.0
python-bits: 64
OS: Linux
OS-release: 4.8.0-51-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.20.1
pytest: None
pip: 9.0.1
setuptools: 35.0.2
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
xarray: 0.9.1
IPython: 6.0.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
feather: None
matplotlib: 2.0.0
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
pandas_gbq: None
pandas_datareader: None