Etymology
Today it means: To whirl around, to wander aimlessly. Full definition →
Probably from pirouette.
Etymology from Wiktionary, CC BY-SA 4.0.