numbers_array
=
np
.
array
(
[
1
,
2
,
3
,
4
,
5
]
)
numbers_array
>
2
#returns np.array([False,False,True,True,True])
Hosted on
Deepnote