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

后端 未结 0 1729
梦毁少年i
梦毁少年i 2021-02-09 11:21

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         


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