code: def test_dataarray_empty():
      # Test default initialization of DataArray
      null_da = GiftiDataArray()
      assert null_da.data is None
      assert null_da.intent == 0
      assert null_da.datatype == 0
      assert null_da.encoding == 3
      assert null_da.endian == (2 if sys.byteorder == "little" else 1)
      assert null_da.coordsys.dataspace == 0
      assert null_da.coordsys.xformspace == 0
      assert_array_equal(null_da.coordsys.xform, np.eye(4))
      assert null_da.ind_ord == 1
      assert null_da.meta == {}
      assert null_da.ext_fname == ""
      assert null_da.ext_offset == 0
  
imports: import itertools
  import sys
  import warnings
  from io import BytesIO
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from nibabel.tmpdirs import InTemporaryDirectory
  from ...None import load
  from ...fileholders import FileHolder
  from ...nifti1 import data_type_codes
  from ...testing import get_test_data
  from ..None import GiftiCoordSystem, GiftiDataArray, GiftiImage, GiftiLabel, GiftiLabelTable, GiftiMetaData, GiftiNVPairs
  from .test_parse_gifti_fast import DATA_FILE1, DATA_FILE2, DATA_FILE3, DATA_FILE4, DATA_FILE5, DATA_FILE6
label_desc: Use image node_id 5 for calling a global function with example usage: test_dataarray_empty() without return types