Need help cloning? Learn how to
clone a repository.
is a free Git and Mercurial client for Windows.
is a free Git and Mercurial client for Mac.
For example, if size=np.array([10, 20]), if size: statement results in the following:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Also, it is just a good practice to use if x is None if x can be None.
if x is None
Thank you, for your fix!