Preheat your oven to 350°F.
Line two 12-cup muffin tins with 24 muffin liners.
In a large bowl, whisk together the oil and sugar. Add eggs one at a time, mixing well after each addition.
In another bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and cardamom.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Stir in the pineapple and grated carrots until just combined.
Fill the muffin liners almost to the top with batter.
Bake for about 20-25 minutes, or until a toothpick inserted into the center comes out clean.
Let the cupcakes cool completely before icing.