Untitled

 avatar
unknown
python
3 years ago
177 B
5
Indexable
import numpy as np 

vocab = ["this", "is", "is", "randomword"]
vocab = np.array(vocab)

for word in vocab:
    masque = vocab == word
    print(masque)
    print(vocab[masque])
Editor is loading...