Scala: How can I replace value in Dataframes using scala

For example I want to replace all numbers equal to 0.2 in a column to 0. How can I do that in Scala? Thanks Edit: |year| make|model| comment |blank| |2012|Tesla| S | No comment ...