code: def test_reset_index_interval_columns_object_cast():
      # GH 19136
      df = DataFrame(
          np.eye(2),
          index=Index([1, 2], name="Year"),
          columns=cut([1, 2], [0, 1, 2]),
      )
      result = df.reset_index()
      expected = DataFrame(
          [[1, 1.0, 0.0], [2, 0.0, 1.0]],
          columns=Index(["Year", Interval(0, 1), Interval(1, 2)]),
      )
      tm.assert_frame_equal(result, expected)
  
imports: from datetime import datetime
  from itertools import product
  import numpy
  import pytest
  from pandas.core.dtypes.common import is_float_dtype, is_integer_dtype
  import pandas
  from pandas import Categorical, CategoricalIndex, DataFrame, Index, Interval, IntervalIndex, MultiIndex, RangeIndex, Series, Timestamp, cut, date_range
  import pandas._testing
label_desc: Use image node_id 6 for calling a global function with example usage: test_reset_index_interval_columns_object_cast() without return types