Aggregate a column on rows with condition on another column using groupby

前端 未结 0 961
故里飘歌
故里飘歌 2020-12-02 21:52

Let\'s say I have the following Pyspark dataframe:

 Country    Direction    Quantity     Price
 Belgium    In           5            10
 Belgium    Out                


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