I'd like to do something like this:
myEnum = Enum("myEnum", "Giraffe Crab Rat Human")
df_new = df.withColumn("AnimalEnumValueColumn", myEnum.Giraffe)
(I know this is incorrect, but I'd like an alternate solution that has the same intended effect)