Skip to content

Commit 332c69b

Browse files
authored
docs: fix CaseBuilder documentation example (#1225)
1 parent f0bbad7 commit 332c69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/datafusion/expr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ class CaseBuilder:
12461246
import datafusion.functions as f
12471247
from datafusion import lit, col
12481248
df.select(
1249-
f.case(col("column_a")
1249+
f.case(col("column_a"))
12501250
.when(lit(1), lit("One"))
12511251
.when(lit(2), lit("Two"))
12521252
.otherwise(lit("Unknown"))

0 commit comments

Comments
 (0)