DataFrame.
count
Returns the number of rows in this DataFrame.
DataFrame
New in version 1.3.0.
Examples
>>> df.count() 2
previous
pyspark.sql.DataFrame.corr
next
pyspark.sql.DataFrame.cov