If df records is in English move it to another column using python
You can check for each entry if the first character is part of ASCII. If so, move to new column.
Disclaimer: Only works if one language contains no ASCII at all and the second language only contains ASCII-Characters
I had a list of Arabic and English elements, I transfer it into a dataframe BUT the issue is I have all values in One single column, I want to move the records that contains English words to another column:
so what I have now:




COLUMN 1




هلا


السلام


WELCOMING


شي اخر




THE OUTPUT THAT I WANT IS:




COLUMN 1
COLUMN 2




هلا
welcoming


السلام
others eng. words




hope its clear..