code: def test_axis_values(df):
      """Raise ValueError if wrong value is provided for axis."""
      msg = "axis should be either index or columns."
      with pytest.raises(ValueError, match=msg):
          df.change_index_dtype(dtype=float, axis="INDEX")
  
file_path: pyjanitor/tests/functions/test_change_index_dtype.py
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_axis_values(df) without return types