Skip to content

Commit

Permalink
Update src/patito/pydantic.py
Browse files Browse the repository at this point in the history
Co-authored-by: dsgibbons <[email protected]>
  • Loading branch information
thomasaarholt and dsgibbons authored Aug 18, 2024
1 parent 6c132df commit 07e7a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patito/pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def from_row(
>>> df = pl.DataFrame(
... [["1", "product name", "1.22"]],
... schema=["product_id", "name", "price"],
... orient="row,
... orient="row",
... )
>>> Product.from_row(df)
Product(product_id=1, name='product name', price=1.22)
Expand Down

0 comments on commit 07e7a16

Please sign in to comment.