code: def create_and_save_detector(data: np.ndarray, p_val: float, path):
      detector = TabularDrift(
          x_ref=data, p_val=p_val, x_ref_preprocessed=True
      )
  
      save_detector(detector, path)
  
imports: import numpy
  import pytest
  from alibi_detect.cd import TabularDrift
  from alibi_detect.saving import save_detector, load_detector
label_desc: Use image node_id 4 for calling a global function with example usage: create_and_save_detector(data, p_val, path) without return types