def set_uni_weights(self):
       N = len(self.Y)
       self.weights = (1.0/N)*np.ones(N)
Format a floating number to make sure it gets the decimal point.
dataset/ETHPy150Open bt3gl/Advanced-Machine-Learning/adaboost/decision_stump.py/DecisionStump.set_uni_weights--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/card.py/_format_float