Reading CSVs through pandas containing Japanese character in some columns.

When we use pandas.read_csv(encoding = "utf8") to read a csv which contains both English and Japanese character, it fails with the error, "UTF-8 codec can not decode byte..... "

Please use pandas.read_csv(encoding = "cp932") in this case. It works with a warning

Comments

Popular posts from this blog

Rahe Abaad sada.

My Latest Poem..Expectation of boys of these Days..!!

Ye Jo Khili Dhoop hai na jaane..!!