code: def test_describe_duplicate_columns():
      # GH#50806
      df = DataFrame([[0, 1, 2, 3]])
      df.columns = [0, 1, 2, 0]
      gb = df.groupby(df[1])
      result = gb.describe(percentiles=[])
  
      columns = ["count", "mean", "std", "min", "50%", "max"]
      frames = [
          DataFrame(
              [[1.0, val, np.nan, val, val, val]],
              index=[1],
              columns=columns,
          )
          for val in (0.0, 2.0, 3.0)
      ]
      expected = pd.concat(frames, axis=1)
      expected.columns = MultiIndex(
          levels=[[0, 2], columns],
          codes=[6 * [0] + 6 * [1] + 6 * [0], 3 * list(range(6))],
      )
      expected.index.names = [1]
      tm.assert_frame_equal(result, expected)
  
file_path: pandas/pandas/tests/groupby/methods/test_describe.py
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, Timestamp, date_range
  import pandas._testing
label_desc: Use image node_id 9 for calling a global function with example usage: test_describe_duplicate_columns() without return types