Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jan 9, 2025
1 parent c3df806 commit 090c99b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2635,8 +2635,8 @@ def serialize(
... }
... )
>>> bytes = df.serialize()
>>> bytes # doctest: +ELLIPSIS
b'x\x01bb@\x80\x15...'
>>> type(bytes)
<class 'bytes'>
The bytes can later be deserialized back into a DataFrame.
Expand Down
4 changes: 2 additions & 2 deletions py-polars/polars/expr/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ def serialize(
>>> expr = pl.col("foo").sum().over("bar")
>>> bytes = expr.meta.serialize()
>>> bytes # doctest: +ELLIPSIS
b'x\x01\x02L\x80\x81...'
>>> type(bytes)
<class 'bytes'>
The bytes can later be deserialized back into an `Expr` object.
Expand Down

0 comments on commit 090c99b

Please sign in to comment.