I have a pyspark dataframe that looks like the following
df
year month day
2017 9 3
2015 5 16
I would like to create a column as datetime
like the following
df
year month day date
2017 9 3 2017-09-03 00:00:00
2015 5 16 2017-05-16 00:00:00