We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d0c276 commit 63faecaCopy full SHA for 63faeca
python/datafusion/functions.py
@@ -630,8 +630,8 @@ def ceil(arg: Expr) -> Expr:
630
---------
631
>>> ctx = dfn.SessionContext()
632
>>> 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()
+ >>> ceil_df = df.select(dfn.functions.ceil(dfn.col("a")).alias("ceil"))
+ >>> ceil_df.collect_column("ceil")[0].as_py()
635
2.0
636
"""
637
return Expr(f.ceil(arg.expr))
0 commit comments