Untitled
Anonymous
python
11/09/2022 7:06 PM
236 B
19
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...