'How to remove non-ascii characters when reading csv file using pandas?

I'm trying to read the following csv file https://storage.googleapis.com/play_public/supported_devices.csv using pandas:

dataframe = pandas.read_csv(DATA_FILE, sep=",", usecols=col_names, on_bad_lines='warn', encoding="UTF-16LE", encoding_errors='ignore', engine="python")

but some rows are decoded with "/u" characters, for example: "\u98db\u99ac (T500TLT)". How can I remove these rows from the dataframe?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source