Quantcast
Viewing all articles
Browse latest Browse all 4448

Open 2 excel files and create a third file with values that are averaged

@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 7

File 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 7

Expected 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 7

here, 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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles