Skip to content

Commit 63faeca

Browse files
committed
Fix copy past error on name
1 parent 0d0c276 commit 63faeca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/datafusion/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ def ceil(arg: Expr) -> Expr:
630630
---------
631631
>>> ctx = dfn.SessionContext()
632632
>>> df = ctx.from_pydict({"a": [1.9]})
633-
>>> floor_df = df.select(dfn.functions.ceil(dfn.col("a")).alias("ceil"))
634-
>>> floor_df.collect_column("ceil")[0].as_py()
633+
>>> ceil_df = df.select(dfn.functions.ceil(dfn.col("a")).alias("ceil"))
634+
>>> ceil_df.collect_column("ceil")[0].as_py()
635635
2.0
636636
"""
637637
return Expr(f.ceil(arg.expr))

0 commit comments

Comments
 (0)