I have a Pyspark dataframe and I want my output files to be in tab.gz extensions.
df.write\\ .option("delimiter", "\\t")\\