So basically my POS reports don't add up split bills.
If you look at df.Item
there are items with fractions (1/2, 1/3, etc). I want to drop those lines but add the sales to the proper row.
Item Outlet1 Outlet2 Outlet3 Outlet4
2 AIR GIN 162.0 NaN 189.0 54.0
3 AIR GIN 1/3 NaN NaN NaN 9.0
4 AIR VODKA 468.0 NaN 585.0 144.0
5 AIR VODKA 1/2 NaN NaN 18.0 NaN
Example output:
Item Outlet1 Outlet2 Outlet3 Outlet4
2 AIR GIN 162.0 NaN 189.0 63.0
3 AIR VODKA 468.0 NaN 603.0 144.0
I'm not sure where to start, New to python.