code: def test_quantile_empty_no_columns(self, interp_method):
      # GH#23925 _get_numeric_data may drop all columns
      interpolation, method = interp_method
      df = DataFrame(pd.date_range("1/1/18", periods=5))
      df.columns.name = "captain tightpants"
      result = df.quantile(
          0.5,
          numeric_only=True,
          interpolation=interpolation,
          method=method,
      )
      expected = Series([], index=[], name=0.5, dtype=np.float64)
      expected.index.name = "captain tightpants"
      tm.assert_series_equal(result, expected)
  
      result = df.quantile(
          [0.5],
          numeric_only=True,
          interpolation=interpolation,
          method=method,
      )
      expected = DataFrame([], index=[0.5], columns=[])
      expected.columns.name = "captain tightpants"
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 26 for calling the TestDataFrameQuantile obj's underlying member method code with example usage: obj.test_quantile_empty_no_columns(interp_method) without return types