vendredi 29 décembre 2017

replace special values for each column of a data frame

If i want to replace all the negative values as well as values of (999,9991,9992,9996) for all the columns of my data frame with -100, how should i do it. I want to save it as a new data frame and not on the same data frame.

thanks

Aucun commentaire:

Enregistrer un commentaire