Covert -inf à 0 r

df[df == -Inf] <- 0
Yan Zhang