code: def test_reset_index_delevel_infer_dtype(self):
      tuples = list(product(["foo", "bar"], [10, 20], [1.0, 1.1]))
      index = MultiIndex.from_tuples(
          tuples, names=["prm0", "prm1", "prm2"]
      )
      df = DataFrame(
          np.random.default_rng(2).standard_normal((8, 3)),
          columns=["A", "B", "C"],
          index=index,
      )
      deleveled = df.reset_index()
      assert is_integer_dtype(deleveled["prm1"])
      assert is_float_dtype(deleveled["prm2"])
  
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 24 for calling the TestResetIndex obj's underlying member method code with example usage: obj.test_reset_index_delevel_infer_dtype() without return types