Skip to content

Commit 46cd7f0

Browse files
WillAydjreback
authored andcommitted
Removed Panel Kludge from Pickle/Msgpack tests (#27082)
1 parent b387da8 commit 46cd7f0

File tree

90 files changed

+40
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+40
-136
lines changed

doc/source/user_guide/io.rst

Lines changed: 5 additions & 10 deletions

doc/source/whatsnew/v0.25.0.rst

Lines changed: 5 additions & 0 deletions

pandas/io/packers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ def read_msgpack(path_or_buf, encoding='utf-8', iterator=False, **kwargs):
134134
Returns
135135
-------
136136
obj : same type as object stored in file
137+
138+
Notes
139+
-----
140+
read_msgpack is only guaranteed to be backwards compatible to pandas
141+
0.20.3.
137142
"""
138143
path_or_buf, _, _, should_close = get_filepath_or_buffer(path_or_buf)
139144
if iterator:

pandas/io/pickle.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ def read_pickle(path, compression='infer'):
116116
read_sql : Read SQL query or database table into a DataFrame.
117117
read_parquet : Load a parquet object, returning a DataFrame.
118118
119+
Notes
120+
-----
121+
read_pickle is only guaranteed to be backwards compatible to pandas 0.20.3.
122+
119123
Examples
120124
--------
121125
>>> original_df = pd.DataFrame({"foo": range(5), "bar": range(5, 10)})
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)