Hello, I'm trying to load some .csv datasets by using the pd.read_csv() for making predictions, as the attachments.
For the data1, when I use pd.read_csv("data1.csv", sep: ',', header: 1); or without setting the header, everything is fine, but when the header is set to zero, some values in the first column becomes zero
Data2 is the opposite, there's no problem when the header is set to zero, but when it's set to 1 or not set, then some values in the first column become zero
Description
Hello, I'm trying to load some .csv datasets by using the
pd.read_csv()
for making predictions, as the attachments. For the data1, when I usepd.read_csv("data1.csv", sep: ',', header: 1);
or without setting theheader
, everything is fine, but when theheader
is set to zero, some values in the first column becomes zeroData2 is the opposite, there's no problem when the
header
is set to zero, but when it's set to 1 or not set, then some values in the first column become zerodata1.csv data2.csv
Reproduction Steps
No response
Known Workarounds
No response
Configuration and Other Information
No response