A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.scipy.org/doc/numpy-1.11.0/reference/generated/numpy.equal.html below:

numpy.equal — NumPy v1.11 Manual

Return (x1 == x2) element-wise.

>>> np.equal([0, 1, 3], np.arange(3))
array([ True,  True, False], dtype=bool)

What is compared are values, not types. So an int (1) and an array of length one can evaluate as True:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4