How To Undersample Data In Python