code: def test_columns_groupby_quantile():
      # GH 33795
      df = DataFrame(
          np.arange(12).reshape(3, -1),
          index=list("XYZ"),
          columns=pd.Series(list("ABAB"), name="col"),
      )
      msg = "DataFrame.groupby with axis=1 is deprecated"
      with tm.assert_produces_warning(FutureWarning, match=msg):
          gb = df.groupby("col", axis=1)
      result = gb.quantile(q=[0.8, 0.2])
      expected = DataFrame(
          [
              [1.6, 0.4, 2.6, 1.4],
              [5.6, 4.4, 6.6, 5.4],
              [9.6, 8.4, 10.6, 9.4],
          ],
          index=list("XYZ"),
          columns=pd.MultiIndex.from_tuples(
              [("A", 0.8), ("A", 0.2), ("B", 0.8), ("B", 0.2)],
              names=["col", None],
          ),
      )
  
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index
  import pandas._testing
label_desc: Use image node_id 19 for calling a global function with example usage: test_columns_groupby_quantile() without return types