Skip to content

Commit f3b6d1f

Browse files
rvernicajreback
authored andcommitted
Add file-like object to docs (#17492)
1 parent 42ed4f1 commit f3b6d1f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/io/feather_format.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def to_feather(df, path):
4141
Parameters
4242
----------
4343
df : DataFrame
44-
path : string
45-
File path
44+
path : string file path, or file-like object
4645
4746
"""
4847
path = _stringify_path(path)
@@ -92,8 +91,7 @@ def read_feather(path, nthreads=1):
9291
9392
Parameters
9493
----------
95-
path : string
96-
File path
94+
path : string file path, or file-like object
9795
nthreads : int, default 1
9896
Number of CPU threads to use when reading to pandas.DataFrame
9997

0 commit comments

Comments
 (0)