Ajay-Pandey
Databricks MVP

You can use spark dataframe to read and write the CSV files-

Read-
df=spark.read.csv("Path")
 
Write-
 
df.write.csv("Path")

Ajay Kumar Pandey