Python中ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()解决方法【转载】 如题, 解决方法是码农家园