code: def test_contextualbanditlabel_non_float_proba_error():
      df = pd.DataFrame({"a": [1], "c": [-0.5], "p": [1], "x": [1]})
      with pytest.raises(TypeError) as value_error:
          DFtoVW(
              df=df,
              label=ContextualbanditLabel("a", "c", "p"),
              features=Feature("x"),
          )
      expected = "In argument 'probability' of 'ContextualbanditLabel', column 'p' should be either of the following type(s): 'float'."
      assert expected == str(value_error.value)
  
imports: import pytest
  import pandas
  from vowpalwabbit.dftovw import ContextualbanditLabel, DFtoVW, Feature, MulticlassLabel, MultiLabel, Namespace, SimpleLabel
label_desc: Use image node_id 32 for calling a global function with example usage: test_contextualbanditlabel_non_float_proba_error() without return types