Posts by WEDJA • 1 point
1 post
-
-1
votes1
answer381
viewsQ: How to convert Object to number in pandas?
import pandas as pd arq = pd.read_csv("arquivo.csv", sep=";") I want to use values in the Valor but is in object. But when I use the code arq["Valor"] = arq["Valor"].astype(int) error appears:…