Get every n-th row of dataframe

前端 未结 0 1570
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 10:05

I have pyspark dataframe and I want to get every third row starting from 1 (indexing of dataframe starts from 0).Exactly I\'d like to select rows such 1,4,7,10 and create ne

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