code: def test_string_numeric_comp_err() -> None:
      with pytest.raises(
          pl.ComputeError,
          match="cannot compare string with numeric data",
      ):
          pl.DataFrame({"a": [1.1, 21, 31, 21, 51, 61, 71, 81]}).select(
              pl.col("a") < "9"
          )
  
imports: from __future__ import annotations
  import io
  from datetime import date, datetime, time
  from decimal import Decimal
  from typing import TYPE_CHECKING, Any
  import numpy
  import pytest
  import polars
  from polars.datatypes.convert import dtype_to_py_type
  from polars.exceptions import InvalidOperationError
label_desc: Use image node_id 7 for calling a global function with example usage: test_string_numeric_comp_err() without return types