Javascript Google Earth引擎Python API,image.and(image2)函数

Javascript Google Earth引擎Python API,image.and(image2)函数,javascript,python,google-earth-engine,Javascript,Python,Google Earth Engine,在python中使用和(image2)会产生“无效语法”错误,因为它会将其与返回布尔值的布尔运算符混淆。而在earth引擎JavaScript中,ee.Image.and(image2)返回一个ee.Image。这个.and运算符的Python等价物是什么?等价语句是。(image2),如下所述:

在python中使用
和(image2)
会产生“无效语法”错误,因为它会将其与返回布尔值的布尔运算符混淆。而在earth引擎JavaScript中,ee.Image.and(image2)返回一个ee.Image。这个.and运算符的Python等价物是什么?

等价语句是
。(image2)
,如下所述: