How To Undersample Data In Python Mean