📅  最后修改于: 2022-03-11 14:47:21.082000             🧑  作者: Mango
import pandas as pd
import googletrans
from googletrans import Translator
pd.set_option('max_colwidth', 300)
# how to get the supported language and their corresponing code
lang_df = pd.DataFrame.from_dict(googletrans.LANGUAGES, orient='index', columns=['Language'])
lang_df