I’ve gotten some crazy spasms in my calves from a low potassium level.
Kind of funny, I got a massive spasm in my calf when watching film in highschool football, and my coach ran to his office got a couple bananas and had me eat them and put them under my tongue and the spasm went away!