Python pandas: Create a new column with values in English by converting values stored in a different column in Chinese traditional
问题 I have a column "City_trad_chinese" in a pandas dataframe "df" which contains values in Traditional Chinese language. I need to create another column "City_English" which must contain the translated values in English. How can I do this with Python? I tried the following: #importing required libraries import pandas as pd from os import path from googletrans import Translator #setting path to data path2data = 'C:/Users/data' # data import df = pd.read_excel(path.join(path2data, 'data.xlsx'),