raise converted from none pyspark