Skip to content

Commit 7836164

Browse files
committed
Fix typo
1 parent 8582e49 commit 7836164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/datafusion/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ def arrow_cast(expr: Expr, data_type: Expr) -> Expr:
15871587
---------
15881588
>>> ctx = dfn.SessionContext()
15891589
>>> df = ctx.from_pydict({"a": [1]})
1590-
>>> data_type = dfn.string_literal("Float64")).alias("c")
1590+
>>> data_type = dfn.string_literal("Float64")
15911591
>>> result = df.select(dfn.functions.arrow_cast(dfn.col("a"), data_type).alias("c"))
15921592
>>> result.collect_column("c")[0].as_py()
15931593
1.0

0 commit comments

Comments
 (0)