I'm trying to change my column type from string to date. I have consulted answers from:
- How to change the column type from String to Date in DataFrames?
- Why I get null results from date_format() PySpark function?
When I tried to apply answers from link 1, I got null result instead, so I referred to answer from link 2 but I don't understand this part:
output_format = ... # Some SimpleDateFormat string