Skip to content

gs:// URLs support in read_feather(), read_pickle() docs #63240

@rootkea

Description

@rootkea

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/reference/api/pandas.read_feather.html

Documentation problem

Hello!

From read_parquet() docs:

path : str, path object or file-like object
String, path object (implementing os.PathLike[str]), or file-like object implementing a binary read() function. The string could be a URL. Valid URL schemes include http, ftp, s3, gs, and file.

From read_feather() docs:

path : str, path object, or file-like object
String, path object (implementing os.PathLike[str]), or file-like object implementing a binary read() function. The string could be a URL. Valid URL schemes include http, ftp, s3, and file. For file URLs, a host is expected. A local file could be: file://localhost/path/to/table.feather.

Q1. Does read_feather() not support gs:// URLs in path parameter? If yes then the docs need to be updated for the same.

From read_pickle() docs:

filepath_or_buffer : str, path object, or file-like object
String, path object (implementing os.PathLike[str]), or file-like object implementing a binary readlines() function. Also accepts URL. URL is not limited to S3 and GCS.

Q2. This means read_pickle() does support gs:// URLs in filepath_or_buffer parameter like read_parquet(), correct?

Suggested fix for documentation

Valid URL schemes include http, ftp, s3, gs and file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions