How can I fill nan values with the last (good) value?

For me, it would be enough to fill it with the previous value of a window
function. So far I could it not get to work as my window function only
returns nan values.
Here is code for a minimal example:
http://stackoverflow.com/questions/40592207/spark-scala-fill-nan-with-last-good-observation



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Fill-nan-with-last-good-value-tp28099.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to