class_docstr: Numpy printer which handles vectorized piecewise functions,
  logical operators, etc.
class_docstr_tok: ["Numpy","printer","which","handles","vectorized","piecewise","functions",",","logical","operators",",","etc","."]
docstr: Logical And printer
docstr_tok: ["Logical","And","printer"]
code: def _print_And(self, expr):
      "Logical And printer"
      # We have to override LambdaPrinter because it uses Python 'and' keyword.
      # If LambdaPrinter didn't define it, we could use StrPrinter's
      # version of the function and add 'logical_and' to NUMPY_TRANSLATIONS.
      return "{}.reduce(({}))".format(
          self._module_format(self._module + ".logical_and"),
          ",".join(self._print(i) for i in expr.args),
      )
  
imports: from sympy.core import S
  from sympy.core.function import Lambda
  from sympy.core.power import Pow
  from .pycode import PythonCodePrinter, _known_functions_math, _print_known_const, _print_known_func, _unpack_integral_limits, ArrayPrinter
  from .codeprinter import CodePrinter
label_desc: Use image node_id 19 for calling the NumPyPrinter obj's underlying member method code with example usage: obj._print_And(expr) and returns: str