class_docstr: Base class for Joint Probability Distribution
class_docstr_tok: ["Base","class","for","Joint","Probability","Distribution"]
code: def __repr__(self):
      var_card = ", ".join(
          [
              f"{var}:{card}"
              for var, card in zip(self.variables, self.cardinality)
          ]
      )
      return f"<Joint Distribution representing P({var_card}) at {hex(id(self))}>"
  
file_path: pgmpy/pgmpy/factors/discrete/JointProbabilityDistribution.py
imports: import itertools
  from functools import reduce
  from operator import mul
  import numpy
  from pgmpy.factors.discrete import DiscreteFactor
  from pgmpy.independencies import Independencies
label_desc: Use image node_id 2 for calling the JointProbabilityDistribution obj's underlying member method code with example usage: obj.__repr__() and returns: str, var_card, str, hex, str