code: def test_construct_vectorizeddf_errors(scitype, mtype, fixture_index):
      """Test VectorizedDF raises appropriate errors with invalid arguments.
  
      Fixtures parameterized
      ----------------------
      scitype : str - scitype of fixture
      mtype : str - mtype of fixture
      fixture_index : int - index of fixture tuple with that scitype and mtype
      """
      # retrieve fixture for checking
      fixture = get_examples(mtype=mtype, as_scitype=scitype).get(
          fixture_index
      )
  
      # if both iterate_as and as_scitype are "Panel", should raise an error
      with pytest.raises(ValueError, match=r'is_scitype is "Panel"'):
          VectorizedDF(
              X=fixture, iterate_as="Hierarchical", is_scitype="Panel"
          )
  
      # invalid argument to iterate_as
      with pytest.raises(ValueError, match=r"iterate_as must be"):
          VectorizedDF(
              X=fixture, iterate_as="Pumuckl", is_scitype="Panel"
          )
  
      # invalid argument to is_scitype
      with pytest.raises(ValueError, match=r"is_scitype must be"):
          VectorizedDF(
              X=fixture, iterate_as="Panel", is_scitype="Pumuckl"
          )
  
imports: import numpy
  import pandas
  import pytest
  from sktime.datatypes import MTYPE_REGISTER, SCITYPE_REGISTER
  from sktime.datatypes._check import AMBIGUOUS_MTYPES, check_is_mtype
  from sktime.datatypes._examples import get_examples
  from sktime.datatypes._vectorize import VectorizedDF, _enforce_index_freq
  from sktime.utils._testing.deep_equals import deep_equals
  from sktime.utils.pandas import df_map
  from sktime.utils.parallel import _get_parallel_test_fixtures
label_desc: Use image node_id 7 for calling a global function with example usage: test_construct_vectorizeddf_errors(scitype, mtype, fixture_index) without return types