How To Fit Data In Python Mean