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/whatif.py
imports: from typing import Any, Callable, Dict, Iterable, List, Optional, Union
  import networkx
  import numpy
  import pandas
  from dowhy.gcm._noise import compute_noise_from_data
  from dowhy.gcm.causal_mechanisms import ClassifierFCM
  from dowhy.gcm.causal_models import InvertibleStructuralCausalModel, ProbabilisticCausalModel, StructuralCausalModel, validate_causal_dag
  from dowhy.gcm.fitting_sampling import draw_samples
  from dowhy.graph import DirectedGraph, get_ordered_predecessors, is_root_node, node_connected_subgraph_view, validate_node_in_graph
label_desc: Use image node_id 8 for calling a global function with example usage: _parent_samples_of(node, scm, samples) and returns: samples