Skip to content

ENH: Support default protocol option #51248

Open
@KeerthiYandaOS

Description

@KeerthiYandaOS

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

I wish there were an option to identify the default protocol when the user accesses the file so that the user can provide "/filePath" instead of the full path like "abfss:////".

By having the ability to configure the default protocol, the request still reaches the fsspec handler class based on the protocol type and it helps in improving the user experience as he/she just needs to input the relative file path.

Feature Description

If possible add an option to Pandas to identify the default protocol.

eg:

pd.options.protocol.default = "abfss"
pd.read_csv("file.csv") //should be converted to pd.read_csv("abfss://file.csv")

Alternative Solutions

For the relative path or protocol-free URLs, pandas route the request to native python APIs, so one way is to override the Pandas behavior in the fork but having this functionality in Pandas might help a wide range of fsspec URL protocols and in improving the user experience.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIO DataIO issues that don't fit into a more specific label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions