code: def cosine_near_duplicates_data():
      this_dir = os.path.dirname(os.path.abspath(__file__))
      data_path = os.path.join(
          this_dir, "test_data/cosine_near_duplicates.npy"
      )
      return np.load(data_path)
  
file_path: pynndescent/pynndescent/tests/conftest.py
imports: import os
  import pytest
  import numpy
  from scipy import sparse
label_desc: Use image node_id 9 for calling a global function with example usage: cosine_near_duplicates_data() and returns: np