how to zip a dataframe

amitdatabricksc
Databricks Partner

how to zip a dataframe so that i get a zipped csv output file. please share command. it is only 1 dataframe involved and not multiple.