@property
    def norm_const(self):
        if self._normconst is None:
            if self.domain is None:
                quadres = scipy.integrate.quad(self._shape, -inf, inf)
            else:
                quadres = scipy.integrate.quad(self._shape, self.domain[0],
                                               self.domain[1])
            self._normconst = 1.0/(quadres[0])
        return self._normconst
Add one row into a table. It DOES NOT begin or end the transaction, so self.con.cursor must be created
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/nonparametric/kernels.py/CustomKernel.norm_const--crossover with--dataset/ETHPy150Open nfvlabs/openmano/openmano/nfvo_db.py/nfvo_db._new_row_internal