How to set to null when validation failure?

I want to save user data from a csv entries to mysql. Some field are invalid according to User model validators. I need to simply ignor invalid data (set them null). However, the model does does not allow that. Is there any config or workarouind?


        public function initialize() {