Skip to content
Advertisement

Translate to text a Emoji Unicode String un python

I have a list of tweets that has been delivered as a csv. But when I read them, the emojis unicode has been converted as str and I can’t translate them to their real name (“waffle” or “heart”).

JavaScript

Advertisement

Answer

Try it with demoji . You can get more details about demoji at here.

code

JavaScript

result

JavaScript

More

For more, if you wants to remove emojis, you can try the below code, which is referring form here:

JavaScript

Or, if you wants to translate your emoji to str, you can try:

JavaScript
Advertisement