Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Sep 29, 2024
1 parent 0404fa0 commit ad9f47d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daft/sql/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def sql_expr(sql: str) -> Expression:
├╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌┤
│ 3 ┆ 6 ┆ 9 │
╰───────┴───────┴───────╯
<BLANKLINE>
(Showing first 3 of 3 rows)
`daft.sql_expr` is also called automatically for you in some DataFrame operations such as filters:
Expand All @@ -86,6 +88,8 @@ def sql_expr(sql: str) -> Expression:
╞═══════╪═══════╡
│ 2 ┆ 5 │
╰───────┴───────╯
<BLANKLINE>
(Showing first 1 of 1 rows)
"""
return Expression._from_pyexpr(_sql_expr(sql))

Expand Down

0 comments on commit ad9f47d

Please sign in to comment.