In a large bowl, whisk together the flour (3 cups), sugar, baking powder, salt, and cardamom.
In a separate bowl, whisk the beaten egg, coconut milk, and 2 tbsp vegetable oil until smooth.
Pour the wet mixture into the dry ingredients and stir with a spoon until a soft dough forms. If very sticky, dust with a little of the reserved flour for dusting.
Turn the dough onto a lightly floured surface and knead just until smooth, 1–2 minutes. Cover and rest at room temperature for 30 minutes.
Divide the dough in half. On a floured surface, roll each half to 0.25–0.5 inch thickness. Cut into 3-inch triangles, gathering and rerolling scraps as needed.
Heat the vegetable oil (for frying) in a deep pot to 350–360°F. Line a tray with paper towels or set a wire rack over a sheet pan.
Fry mandazi in batches without crowding, 2–3 minutes per side, until puffed and deep golden; adjust heat to maintain 350–360°F.
Remove with a slotted spoon and drain. Serve warm or at room temperature.