Hapus r dan n dari 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, ",")