code: def pyvista_ndarray_1d():
      return pyvista_ndarray([1.0, 2.0, 3.0])
  
file_path: pyvista/tests/core/test_pyvista_ndarray.py
imports: from unittest import mock
  import numpy
  import pytest
  import vtk
  from pyvista import examples, pyvista_ndarray
label_desc: Use image node_id 1 for calling a global function with example usage: pyvista_ndarray_1d() and returns: pyvista_ndarray