Big Mart sell fat content



I am using Python 3 I have written the code given here for modification fat content

But why can’t we use map again instead of replace (at step 5 :mod indication categories of item fat content) everytime I use map it gives me some random number and I have to run every code since beginning


It would be much more helpful if you could share your code.


Yes! Code will be of great help for learning.