Answers for "how to count number of rows in pyspark dataframe"

2

spark df shape

print((df.count(), len(df.columns)))
Posted by: Guest on March-20-2020

Code answers related to "how to count number of rows in pyspark dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language