Either one will work if you're consistent about it. I prefer Yoga over Pilates but both are great. You'll learn functional positions for golf in both disciplines and you may be able to customize a program that fits your needs which will help you achieve your goals. Good luck!
__________________
Golf can never be considered an enigma. ~HK