'Change file name in Azure Databricks [duplicate]

I've write the data in the pyspark dataframe using the dataframe writer APIs. How can I change the name of the csv file generated?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source