I can use unicodedata.name()
and unicodedata.lookup()
map between characters and their names. But it must be one at a time.
Is there an easy way to get the mapping of all the characters? Thanks.
I can use unicodedata.name()
and unicodedata.lookup()
map between characters and their names. But it must be one at a time.
Is there an easy way to get the mapping of all the characters? Thanks.
As far as I know, there is no builtin mapping of all the characters. But you can generate you own easily:
import pandas as pd
mapping = pd.DataFrame({'nums': list(range(0, 0x110000)),
'chars': list(map(chr, range(0, 0x110000)))})