code: def test_df_stack_reset_index():
      df = cudf.DataFrame(
          {
              "a": [1, 2, 3, 4],
              "b": [10, 11, 12, 13],
              "c": ["ab", "cd", None, "gh"],
          }
      )
      df = df.set_index(["a", "b"])
      pdf = df.to_pandas()
  
      expected = pdf.stack()
      actual = df.stack()
  
      assert_eq(expected, actual)
  
      expected = expected.reset_index()
      actual = actual.reset_index()
  
      assert_eq(expected, actual)
  
imports: import re
  from itertools import chain
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import melt
  from cudf.core.buffer.spill_manager import get_global_manager
  from cudf.testing._utils import ALL_TYPES, DATETIME_TYPES, NUMERIC_TYPES, assert_eq
label_desc: Use image node_id 4 for calling a global function with example usage: test_df_stack_reset_index() without return types