So I have data that has None interspersed in numeric vectors, like this -
Lot.Frontage    Lot.Area
34                  3901
70                  8400
60                  7200
64                  7018
111                 16259
50                  4280
155                 20064
60                  7200
70                  9100
None            6449
55                  7642
None            28698
I want to replace the None with 0.
I've tried this
ames.data[ames.data == "None"] <- 0
But this gives me an < NA > wherever there was a none.
How do I replace the None with 0?
 
     
     
     
    