Skip to content

DOC: to_pickle function takes pickle v5 but doc says only 1-4 supported #37316

Closed
@ianozsvald

Description

@ianozsvald

Location of the documentation

Documentation problem

The docstring states DataFrame.to_pickle(path, compression='infer', protocol=5, storage_options=None) noting protocol 5 by default, the Parameters following text notes "The possible values are 0, 1, 2, 3, 4" which does not include protocol 5.

Suggested fix for documentation

Add "5" to the docs: "The possible values are 0, 1, 2, 3, 4, 5" which was included from Python 3.8 https://docs.python.org/3/library/pickle.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions