row-number

Need to add sequential numbering as per the grouping in Pyspark

Need to add sequential numbering as per the grouping in Pyspark Question: I am working on one code where I need to add sequential number as per the grouping on the basis of column A & column B. Below is the table/dataframe I have. The data is sorted by colA & Date. colA colB Date …

Total answers: 1