From be569627346bce10ffec205ffff26c5628a5bb9b Mon Sep 17 00:00:00 2001 From: Valilutzik Date: Wed, 21 Oct 2020 22:52:35 +0100 Subject: [PATCH] DOC: Add protocol value '5' to pickle #37316 --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d658d799f1fb8..eeaf23fdc06f5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2780,7 +2780,7 @@ def to_pickle( protocol : int Int which indicates which protocol should be used by the pickler, default HIGHEST_PROTOCOL (see [1]_ paragraph 12.1.2). The possible - values are 0, 1, 2, 3, 4. A negative value for the protocol + values are 0, 1, 2, 3, 4, 5. A negative value for the protocol parameter is equivalent to setting its value to HIGHEST_PROTOCOL. .. [1] https://docs.python.org/3/library/pickle.html.