@shruti.bothe wrote:
File 1:
ID TIME A B C
1 23:00:00 4 5 10
2 2:00:00 1 4 6
3 3:00:00 3 2 7File 2:
ID TIME A B C
1 23:00:00 6 7 10
2 2:00:00 1 6 6
3 3:00:00 3 4 7Expected output file:
ID TIME A B C
1 23:00:00 5 6 10
2 2:00:00 1 5 6
3 3:00:00 3 3 7here, values of column A,B and C are averaged line by line
Also i need to use groupby (ID, TIME ) to not average on these columns
Posts: 1
Participants: 1