Skip to content

Commit b6466f4

Browse files
committed
dfn is already available globally
1 parent 542d8b3 commit b6466f4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

python/datafusion/expr.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,6 @@ def rollup(*exprs: Expr | str) -> Expr:
14591459
include in the rollup.
14601460
14611461
Examples:
1462-
>>> import datafusion as dfn
14631462
>>> from datafusion.expr import GroupingSet
14641463
>>> ctx = dfn.SessionContext()
14651464
>>> df = ctx.from_pydict({"a": [1, 1, 2], "b": [10, 20, 30]})
@@ -1496,7 +1495,6 @@ def cube(*exprs: Expr | str) -> Expr:
14961495
With a single column, ``cube`` behaves identically to
14971496
:py:meth:`rollup`:
14981497
1499-
>>> import datafusion as dfn
15001498
>>> from datafusion.expr import GroupingSet
15011499
>>> ctx = dfn.SessionContext()
15021500
>>> df = ctx.from_pydict({"a": [1, 1, 2], "b": [10, 20, 30]})
@@ -1533,7 +1531,6 @@ def grouping_sets(*expr_lists: list[Expr | str]) -> Expr:
15331531
grouping set.
15341532
15351533
Examples:
1536-
>>> import datafusion as dfn
15371534
>>> from datafusion.expr import GroupingSet
15381535
>>> ctx = dfn.SessionContext()
15391536
>>> df = ctx.from_pydict(

0 commit comments

Comments
 (0)