code: def train_data_discrete_cpds_k2(
      train_data_discrete,
  ) -> Dict[str, np.ndarray]:
      """Conditional probability distributions of train_data in the train_model"""
  
      return create_cpds(train_data_discrete, pc=1)
  
imports: import itertools
  from typing import Dict
  import numpy
  import pandas
  import pytest
  from pgmpy.models import BayesianNetwork
  from sklearn.datasets import load_iris
  from causalnex.discretiser import Discretiser
  from causalnex.network import BayesianNetwork
  from causalnex.structure import StructureModel
  from causalnex.structure.notears import from_pandas
label_desc: Use image node_id 8 for calling a global function with example usage: train_data_discrete_cpds_k2(train_data_discrete) and returns: create_cpds