code: def test_std_raises_on_index():
      with pytest.raises(
          NotImplementedError,
          match="`std` is only supported with objects that are Dataframes or Series",
      ):
          dd.from_pandas(
              pd.DataFrame({"test": [1, 2]}), npartitions=2
          ).index.std()
  
imports: from __future__ import annotations
  import contextlib
  import warnings
  from datetime import datetime
  import numpy
  import pandas
  import pytest
  from pandas.api.types import is_scalar
  import dask.dataframe
  from dask.array.numpy_compat import _numpy_125
  from dask.dataframe._compat import PANDAS_GE_140, PANDAS_GE_150, PANDAS_GE_200, PANDAS_VERSION, check_numeric_only_deprecation
  from dask.dataframe.utils import assert_dask_graph, assert_eq, make_meta, pyarrow_strings_enabled
label_desc: Use image node_id 34 for calling a global function with example usage: test_std_raises_on_index() without return types