You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, you can only translate a list of text. Do you feel it would be good if we can translate pandas dataframes, numpy arrays and dictionaries? e.g.
df=pd.DataFrame(
[
["what is the time?", "it is 2pm"],
["where do you live?", "on Mars"]
],
columns=["questions", "answers"]
)
df_fr=mt.translate_pandas(df, columns=['questions', 'answers'], source="en", target="fr")
array_fr=mt.translate_numpy(df.values, source="en", target="fr")
array_di=mt.translate_dict(df.to_dict(), source="en", target="fr")
Would you like to be able to translate pandas dataframes, numpy arrays, and dictionaries?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now, you can only translate a list of text. Do you feel it would be good if we can translate pandas dataframes, numpy arrays and dictionaries? e.g.
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions