def conditional_distribution(self, values, inplace=True):
        JPD = self if inplace else self.copy()
        JPD.reduce(values)
        JPD.normalize()
        if not inplace:
            return JPD
This patches Djangos JSON encoder so it can deal with
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/factors/JointProbabilityDistribution.py/JointProbabilityDistribution.conditional_distribution--crossover with--dataset/ETHPy150Open potatolondon/djangae/djangae/patches/json.py/patch