Skip to content

Commit 9cbc3e8

Browse files
committed
rebase + add some more details to doc
1 parent 017bde1 commit 9cbc3e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/frame.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -2199,8 +2199,10 @@ def to_feather(self, path, **kwargs) -> None:
21992199
22002200
Parameters
22012201
----------
2202-
path : str
2203-
String file path.
2202+
path : str or file-like object
2203+
If a string, it will be used as Root Directory path. By file-like
2204+
object, we refer to objects with a write() method, such as
2205+
a file handler (e.g. via builtin open function) or io.BytesIO.
22042206
**kwargs :
22052207
Additional keywords passed to :func:`pyarrow.feather.write_feather`.
22062208
Starting with pyarrow 0.17, this includes the `compression`,

0 commit comments

Comments
 (0)