File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -760,19 +760,16 @@ def join_on(
760760 exprs = [expr .expr for expr in on_exprs ]
761761 return DataFrame (self .df .join_on (right .df , exprs , how ))
762762
763- def explain (self , verbose : bool = False , analyze : bool = False ) -> DataFrame :
764- """Return a DataFrame with the explanation of its plan so far.
763+ def explain (self , verbose : bool = False , analyze : bool = False ) -> None :
764+ """Print an explanation of the DataFrame's plan so far.
765765
766766 If ``analyze`` is specified, runs the plan and reports metrics.
767767
768768 Args:
769769 verbose: If ``True``, more details will be included.
770770 analyze: If ``Tru`e``, the plan will run and metrics reported.
771-
772- Returns:
773- DataFrame with the explanation of its plan.
774771 """
775- return DataFrame ( self .df .explain (verbose , analyze ) )
772+ self .df .explain (verbose , analyze )
776773
777774 def logical_plan (self ) -> LogicalPlan :
778775 """Return the unoptimized ``LogicalPlan``.
You can’t perform that action at this time.
0 commit comments