Pyspark - convert a dataframe column with month number to another dataframe column having month name

后端 未结 0 1838
粉色の甜心
粉色の甜心 2021-02-09 11:39

I am trying to convert a dataframe month number column to month name column. I tried following approach -

df_month_name = df.withColumn(\'month_name\',calendar.mo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题