I have a pandas dataframe where one column has values in kiloTon as abbreviated 'kt'. Now when I perform groupby on Country column and year column and call aggregation function sum on Value column, it's not actually doing sum of values in value column.
After performing above action, following is coming:
However the expected output should be:
Also the 'Value' column is of type object.
Any help will be useful.