import numpy as np 
a=np.random.randn((10))
b = np.random.randn((10))
#print(a)
#print(b)
# #print(a>0)
# print(a[1])
# print(a[a>0]) # selecting the desired elements from the array

names = np.array(['ahmed','kashi','ali','morris','kashi'])
print(names=='kashi')
print(names[0])
print(names[names=='kashi']) # returing names[True]


e132098fc7f9b88c9bbfddf4b9de8f5ed0d025f0
<mask token>

<mask token>
print(names == 'kashi')
print(names[0])
print(names[names == 'kashi'])

<mask token>
a = np.random.randn(10)
b = np.random.randn(10)
names = np.array(['ahmed', 'kashi', 'ali', 'morris', 'kashi'])
print(names == 'kashi')
print(names[0])
print(names[names == 'kashi'])

import numpy as np
a = np.random.randn(10)
b = np.random.randn(10)
names = np.array(['ahmed', 'kashi', 'ali', 'morris', 'kashi'])
print(names == 'kashi')
print(names[0])
print(names[names == 'kashi'])

import numpy as np 
a=np.random.randn((10))
b = np.random.randn((10))
#print(a)
#print(b)
# #print(a>0)
# print(a[1])
# print(a[a>0]) # selecting the desired elements from the array

names = np.array(['ahmed','kashi','ali','morris','kashi'])
print(names=='kashi')
print(names[0])
print(names[names=='kashi']) # returing names[True]

