Skip to content

KeyError Iterating on empty HDFStore #12221

Closed
@toobaz

Description

@toobaz
list(pd.HDFStore("non_existing_store.hdf"))

should, I think, return [], instead it yields:

KeyError: 'No object named 0 in the file'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Error ReportingIncorrect or improved errors from pandasIO HDF5read_hdf, HDFStore

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions