In PySpark DataFrames can be saved in two ways, irrespective of the data it contains
df.write.format('parquet').save(<path>)
and
df.write.parquet(<path>)
What is the difference between these two functions?
Open the implementation of parquet("path")
and you will see that it just calls format("parquet").save("path")
.