Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

access google transalte pandas

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
Source by predictivehacks.com #
 
PREVIOUS NEXT
Tagged: #access #google #transalte #pandas
ADD COMMENT
Topic
Name
9+9 =