Searching in python/pyspark/sql/functions