Given
- DataFrame contains column df['words']
Need to make sure that there is no word that isn't English or Hebrew & that there is no number in the input :
for example: wrong words:
pla!n, *, /, ?, mouna笑, ~,!, adקר, etc..
for example: good words:
plan, mountain, ארטיק, ok...
in python alone. thanks
"".isalpha() אתה יכול להשתמש ב
you can use "".isalpha()