I'm trying to read the following file into a pandas dataframe :
(dataA
0
400
2800
9200
5600
2000
8400
4800
1200
7600
4000
400
6800
)
(dataB
30
30
30
30
30
30
20
500
30
50
330
530
930
)
The objective being to have something as this :
dataA dataB
0 30
400 30
2800 30
9200 30
5600 30
2000 30
8400 20
4800 500
1200 30
7600 50
4000 330
400 530
6800 930
I know this can be done by reading the file line by line, but I was wondering if there is an easy way to have it read by pandas (as read_csv for example). This is because there are lots of files similar to this one and the post-processing is already automatized for that type of data.