Trying to read the csv file through pandas, but it looks like it is not reading it correctly
Code:
pd.read_csv(data_file_path, sep=",", index_col=0, header=0, dtype = object)
For eg: My data is (in csv file):
12 1.43E+19 This is first line 101010
23 1.43E+19 This is the second line 202020
34 1.43E+19 This is the third line 303030
I am trying to read with first column as index.
Output:
1.43E+19 This is first line 101010
12
23 1.43E+19 This is the second line 202020
34 1.43E+19 This is the third line 303030
Output without making 1st column as index:
12 1.43E+19 This is first line 101010
0 23 1.43E+19 This is the second line 202020
1 34 1.43E+19 This is the third line 303030
Because of this, any further processing on this data is ignoring the first row data.