pyspark UDF raises “No module named” error
I have a dataframe with a country descriptor ds_pais
in English. I want to use GoogleTranslator
to add a column via .withColumn
that translates from english to spanish that country descriptor.
I have a dataframe with a country descriptor ds_pais
in English. I want to use GoogleTranslator
to add a column via .withColumn
that translates from english to spanish that country descriptor.