Description
When giving a single string to dropDuplicates method in pyspark a cryptic error is returned. Rather than returning a cryptic error, handle gracefully or return an exception.
Proposal: Model after dropna behavior. If single string then use it to create a list, otherwise if argument is not list/tuple return an exception