Skip to content

Commit ef5ccfd

Browse files
authored
DOC: Add protocol value '5' to pickle #37316 (#37322)
1 parent 038aab9 commit ef5ccfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@ def to_pickle(
27802780
protocol : int
27812781
Int which indicates which protocol should be used by the pickler,
27822782
default HIGHEST_PROTOCOL (see [1]_ paragraph 12.1.2). The possible
2783-
values are 0, 1, 2, 3, 4. A negative value for the protocol
2783+
values are 0, 1, 2, 3, 4, 5. A negative value for the protocol
27842784
parameter is equivalent to setting its value to HIGHEST_PROTOCOL.
27852785
27862786
.. [1] https://docs.python.org/3/library/pickle.html.

0 commit comments

Comments
 (0)