Skip to content

Commit 4b4aa1f

Browse files
committed
docs: clarify join_on method expectations for column expressions
1 parent a784a83 commit 4b4aa1f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/source/user-guide/dataframe/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ existing column. These include:
138138
* :py:meth:`~datafusion.DataFrame.join` (``on`` argument)
139139
* :py:meth:`~datafusion.DataFrame.aggregate` (grouping columns)
140140

141+
Note that :py:meth:`~datafusion.DataFrame.join_on` expects ``col()``/``column()`` expressions rather than plain strings.
142+
141143
For such methods, you can pass column names directly:
142144

143145
.. code-block:: python

0 commit comments

Comments
 (0)