code: def test_quantile_axis_mixed(self, interp_method):
      # mixed on axis=1
      interpolation, method = interp_method
      df = DataFrame(
          {
              "A": [1, 2, 3],
              "B": [2.0, 3.0, 4.0],
              "C": pd.date_range("20130101", periods=3),
              "D": ["foo", "bar", "baz"],
          }
      )
      result = df.quantile(
          0.5,
          axis=1,
          numeric_only=True,
          interpolation=interpolation,
          method=method,
      )
      expected = Series([1.5, 2.5, 3.5], name=0.5)
      if interpolation == "nearest":
          expected -= 0.5
      tm.assert_series_equal(result, expected)
  
      # must raise
      msg = "'<' not supported between instances of 'Timestamp' and 'float'"
      with pytest.raises(TypeError, match=msg):
          df.quantile(0.5, axis=1, numeric_only=False)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 8 for calling the TestDataFrameQuantile obj's underlying member method code with example usage: obj.test_quantile_axis_mixed(interp_method) without return types