code: def _parent_samples_of(
      node: Any, scm: ProbabilisticCausalModel, samples: pd.DataFrame
  ) -> np.ndarray:
      return samples[
          get_ordered_predecessors(scm.graph, node)
      ].to_numpy()
  
file_path: dowhy/dowhy/gcm/fitting_sampling.py
imports: from typing import Any
  import networkx
  import numpy
  import pandas
  from tqdm import tqdm
  from dowhy.gcm import config
  from dowhy.gcm.causal_models import PARENTS_DURING_FIT, ProbabilisticCausalModel, validate_causal_dag, validate_causal_model_assignment
  from dowhy.graph import get_ordered_predecessors, is_root_node
label_desc: Use image node_id 4 for calling a global function with example usage: _parent_samples_of(node, scm, samples) and returns: samples