Writing a DataFrame to a CSV file in Azure Databricks
I’m trying to write the contents of a Spark DataFrame to a CSV file in DBFS. It’s important for later functions that the CSV file be a singular file of the specified name. The files written to CSV files will always be small.