A frying pan was a cooking device used across the galaxy. Its main purpose was cooking; however, sometimes it could be used as a melee weapon.
The scene where Loubo tried to pull the pan on Anakin Skywalker was originally intended for Lou to pull a blaster on him instead.