Skip to content

Commit

Permalink
docs(python): add doc for future: int
Browse files Browse the repository at this point in the history
  • Loading branch information
ruihe774 committed Jul 4, 2024
1 parent fe24b38 commit 22fc7f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1404,6 +1404,9 @@ def to_arrow(self, *, future: bool | int = False) -> pa.Table:
This functionality is considered **unstable**. It may be changed
at any point without it being considered a breaking change.
Setting this to an integer will use a specific version
of Polars' internal data structures.
Examples
--------
>>> df = pl.DataFrame(
Expand Down Expand Up @@ -3339,6 +3342,9 @@ def write_ipc(
This functionality is considered **unstable**. It may be changed
at any point without it being considered a breaking change.
Setting this to an integer will use a specific version
of Polars' internal data structures.
Examples
--------
>>> import pathlib
Expand Down Expand Up @@ -3417,6 +3423,9 @@ def write_ipc_stream(
This functionality is considered **unstable**. It may be changed
at any point without it being considered a breaking change.
Setting this to an integer will use a specific version
of Polars' internal data structures.
Examples
--------
>>> import pathlib
Expand Down
3 changes: 3 additions & 0 deletions py-polars/polars/series/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -4358,6 +4358,9 @@ def to_arrow(self, *, future: bool | int = False) -> pa.Array:
This functionality is considered **unstable**. It may be changed
at any point without it being considered a breaking change.
Setting this to an integer will use a specific version
of Polars' internal data structures.
Examples
--------
>>> s = pl.Series("a", [1, 2, 3])
Expand Down

0 comments on commit 22fc7f2

Please sign in to comment.