starts_with_a
=
[
x
==
'a'
for
x
in
indexed_array
]
#returns [true,false,false,false,false]
indexed_array
[
starts_with_a
]
#returns np.array(['a'])
Hosted on
Deepnote