Skip to content

Commit 7a7f6b1

Browse files
timsaucerclaude
andcommitted
docs: rewrite spark DataFrame intro for users
Replace API-speak ("Import the submodule", "Returned values are Expr instances that compose") with a concrete description of where users can actually drop these calls. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 45f0b68 commit 7a7f6b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/user-guide/common-operations/spark-functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ implementation to call by which module you import from.
4545
DataFrame API
4646
-------------
4747

48-
Import the submodule and call functions directly. Returned values are
49-
:py:class:`~datafusion.expr.Expr` instances that compose with the rest of
50-
the DataFrame API.
48+
Import ``spark`` and use it like any other functions module. The Spark
49+
functions can go anywhere you'd put a DataFusion expression — inside
50+
``select``, ``filter``, ``with_column``, ``aggregate``, and so on.
5151

5252
.. code-block:: python
5353

0 commit comments

Comments
 (0)