code: def test_index_after_remove_empty():
      """This test ensures that the index is reset correctly"""
      df = pd.DataFrame()
      df["a"] = [1, np.nan, np.nan, 3, np.nan, 6]
      df["b"] = [1, np.nan, 1, 3, np.nan, 6]
      df_nonempty = df.remove_empty()
      assert np.array_equal(
          np.asarray(df_nonempty.index),
          np.asarray(range(0, len(df_nonempty))),
      )
  
file_path: pyjanitor/tests/functions/test_remove_empty.py
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from janitor.testing_utils.strategies import df_strategy
label_desc: Use image node_id 2 for calling a global function with example usage: test_index_after_remove_empty() without return types