Python Pandas Dataframe Minimum Value Of Quadratic Equation