We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f217ddd commit 4b6e351Copy full SHA for 4b6e351
python/datafusion/functions.py
@@ -631,11 +631,6 @@ def acos(arg: Expr) -> Expr:
631
>>> result = df.select(dfn.functions.acos(dfn.col("a")).alias("acos"))
632
>>> result.collect_column("acos")[0].as_py()
633
0.0
634
- >>> ctx = dfn.SessionContext()
635
- >>> df = ctx.from_pydict({"a": [1.0]})
636
- >>> result = df.select(dfn.functions.acos(dfn.col("a")).alias("acos"))
637
- >>> result.collect_column("acos")[0].as_py()
638
- 0.0
639
"""
640
return Expr(f.acos(arg.expr))
641
0 commit comments