Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé
Classe « Operators »

Opérateur sqlalchemy.Operators.__and__

Signature de la opérateur __and__

def __and__(self, other: 'Any') -> 'Operators' 

Description

help(Operators.__and__)

Implement the ``&`` operator.

When used with SQL expressions, results in an
AND operation, equivalent to
:func:`_expression.and_`, that is::

    a & b

is equivalent to::

    from sqlalchemy import and_

    and_(a, b)

Care should be taken when using ``&`` regarding
operator precedence; the ``&`` operator has the highest precedence.
The operands should be enclosed in parenthesis if they contain
further sub expressions::

    (a == 2) & (b == 4)



Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé