Skip to content

read_hdf not supporting pathlib.Path #11773

Closed
@michaelaye

Description

@michaelaye

According to the Enhancements text for 17.1:

pd.read_* functions can now also accept pathlib.Path, or py._path.local.LocalPath objects for the filepath_or_buffer argument. (GH11033)

all read_* functions should support pathlib.Path now. It works for me with read_csv but not for read_hdf.
Interestingly, I find in the squashed PR for this issue, 0d3dcbb, only a comment regarding read_csv and read_table, while the merge 82f0033 talks about read_*. Is there something missing for read_hdf ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatpandas objects compatability with Numpy or Python functionsIO HDF5read_hdf, HDFStoreTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions