fill na with random numbers in Pyspark

Viewed 4377

I'm using Pyspark DataFrame.

I'd like to update NA values in Age column with a random value in the range 14 to 46.

How can I do it?

2 Answers
Related