--single-version-externally-managed --compile" failed with error code 1 in c:\users\admini~1\appdata\local\temp\2\pip-build-pcaf0x\pysqlite You are using pip version 7.1.2, however version 9.0.1 is available. Yo
@udf(returnType=StringType()) def good_funify(s): return None if s == None else s + " is fun!" countries2.withColumn("fun_country", good_funify("country")).show() +---+---+---+ | country| id| fun_country| +---+---+---+ |Thailand| 3|Thailand is fun!| | null| ...