scala spark show all df rows code example Example: pyspark show all values df.persist df.show(df.count, false) // in Scala or 'False' in Python