'Use pyspark df.write.csv , Write CSV with a comment before column names
How to write a csv using pyspark with a comment as below, Is there a option to do this using pyspark dataframe writer.
THIS IS Liscenced CSV
Col1,Col2,Col3
1,2,a
4,5,b
7,6,c
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
