How to take distinct of multiple columns ( > than 2 columns) in pyspark datafarme ?

srchella
New Contributor

I have 10+ columns and want to take distinct rows by multiple columns into consideration. How to achieve this using pyspark dataframe functions ?