the truth value of an array with more than one element is ambiguous. use a.any() or a.all()
home for all things data science and machine learning. online courses, tutorials, and research reviews. jumpstart your data science career!
ADS