Covert -inf до 0 r

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