Skip to main content

All Questions

4 votes
3 answers
16k views

Date difference in years in PySpark dataframe

I come from Pandas background and new to Spark. I have a dataframe which has id, dob, age as columns. I want to get the age of the user from his dob (in some cases age column is NULL). +----+------+---...
NewBie 's user avatar
  • 3,604