partridge80
Technical User
Consider the following:
Shop Product code Price
1 001 200
1 002 300
1 003 400
2 008 370
2 011 230
2 020 840
3 066 500
3 068 610
How can I groupby to show only the highest priced product code for each shop?
i.e. for shop 1 - 003, shop 2 - 020, shop 3 - 068
Probably very easy - but am still fairly new to all this - Many thanks!
Shop Product code Price
1 001 200
1 002 300
1 003 400
2 008 370
2 011 230
2 020 840
3 066 500
3 068 610
How can I groupby to show only the highest priced product code for each shop?
i.e. for shop 1 - 003, shop 2 - 020, shop 3 - 068
Probably very easy - but am still fairly new to all this - Many thanks!