We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a01bc commit fc65107Copy full SHA for fc65107
pandas/util/testing.py
@@ -102,7 +102,7 @@ def reset_display_options():
102
103
104
def round_trip_pickle(
105
- obj: FrameOrSeries, path: FilePathOrBuffer = None
+ obj: FrameOrSeries, path: Optional[FilePathOrBuffer] = None
106
) -> FrameOrSeries:
107
"""
108
Pickle an object and then read it again.
@@ -111,7 +111,7 @@ def round_trip_pickle(
111
----------
112
obj : pandas object
113
The object to pickle and then re-read.
114
- path : str, default None
+ path : str, path object or file-like object, default None
115
The path where the pickled object is written and then read.
116
117
Returns
0 commit comments