Eliminar R y N de String Python
stocks = [x.replace("\r\n","") for x in stocks]
TheProgrammer
stocks = [x.replace("\r\n","") for x in stocks]
df <- df[!is.infinite(rowSums(df)),]
library(stringr)
str_remove(data$x, ",")