First make a paste of 1/2 cup of pineapple and keep aside the other 1/2 cup chopped.Now take a kadhai add oil jeera saunf and hing. Sauté well then to it add onions and ginger and sauté it. Once cooked add grated carrot, cook well with pinch of salt then add pineapple and cook well with pinch of salt.