Is there a way to take the first 1000 rows of a Spark Dataframe?

后端 未结 2 1036
走了就别回头了
走了就别回头了 2020-12-23 19:06

I am using the randomSplitfunction to get a small amount of a dataframe to use in dev purposes and I end up just taking the first df that is returned by this fu

2条回答
提交回复
热议问题