-1
Looks like your CSV is split by a semicolon (';'
) and not by comma (','
), which is the standard of the function read_csv
, just use the parameter sep=';'
, as follows:
df = pd.read_csv('diretorio_do_arquivo', sep=';')
Similarly, when your csv is divided by any other sign, spaces (' ') or tabs (' t') just pass the information to the parameter sep
I recommend taking a look at the documentation of the function:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html
Important you [Dit] your post reducing to a [mcve] and putting text information as text and not as image.
– Bacco