code: def test_legacy_float_index():
      from pandas import Float64Index
  
      index = Float64Index(np.arange(100))
      assert not is_int_index(index)
      assert is_float_index(index)
  
file_path: statsmodels/statsmodels/compat/tests/test_pandas.py
imports: from statsmodels.compat.pandas import PD_LT_1_4, is_float_index, is_int_index
  import numpy
  import pandas
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_legacy_float_index() without return types