@@ -421,9 +421,6 @@ def filter(self, *predicates: Expr) -> DataFrame:
421421 out. If more than one predicate is provided, these predicates will be
422422 combined as a logical AND. Each ``predicate`` must be an
423423 :class:`~datafusion.expr.Expr` created using helper functions such as
424- :func:`datafusion.col` or :func:`datafusion.lit`; plain strings are not
425- accepted. If more complex logic is required, see the logical operations in
426- :py:mod:`~datafusion.functions`.
427424
428425 Example::
429426
@@ -445,7 +442,6 @@ def with_column(self, name: str, expr: Expr) -> DataFrame:
445442 """Add an additional column to the DataFrame.
446443
447444 The ``expr`` must be an :class:`~datafusion.expr.Expr` constructed with
448- :func:`datafusion.col` or :func:`datafusion.lit`; plain strings are not
449445 accepted.
450446
451447 Example::
@@ -469,7 +465,6 @@ def with_columns(
469465
470466 By passing expressions, iterables of expressions, or named expressions.
471467 All expressions must be :class:`~datafusion.expr.Expr` objects created via
472- :func:`datafusion.col` or :func:`datafusion.lit`; plain strings are not
473468 accepted. To pass named expressions use the form ``name=Expr``.
474469
475470 Example usage: The following will add 4 columns labeled ``a``, ``b``, ``c``,
@@ -767,7 +762,7 @@ def join_on(
767762 """Join two :py:class:`DataFrame` using the specified expressions.
768763
769764 Join predicates must be :class:`~datafusion.expr.Expr` objects, typically
770- built with :func:`datafusion.col`; plain strings are not accepted. On
765+ built with :func:`datafusion.col`; On
771766 expressions are used to support in-equality predicates. Equality predicates
772767 are correctly optimized.
773768
0 commit comments