I have a groupBy function with pandas framework.The requirement is i have to use spark for groupby fun.could you please help me on this regards

前端 未结 0 1575
一向
一向 2020-12-14 18:41

Please find the below code :

Var= pd.DataFrame(df_enbrel_pd.groupby([\'source_customer_id\',\'channel_code\']).response_fact_timestamp.apply(lambda x: max(x))

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