code: def test_drop_na_execution(setup):
      # dataframe cases
      df_raw = pd.DataFrame(
          np.nan, index=range(0, 20), columns=list("ABCDEFGHIJ")
      )
      for _ in range(30):
          df_raw.iloc[
              random.randint(0, 19), random.randint(0, 9)
          ] = random.randint(0, 99)
      for rowid in range(random.randint(1, 5)):
          row = random.randint(0, 19)
          for idx in range(0, 10):
              df_raw.iloc[row, idx] = random.randint(0, 99)
  
      # only one chunk in columns, can run dropna directly
      r = md.DataFrame(df_raw, chunk_size=(4, 10)).dropna()
      pd.testing.assert_frame_equal(
          r.execute().fetch(), df_raw.dropna()
      )
  
      # multiple chunks in columns, count() will be called first
      r = md.DataFrame(df_raw, chunk_size=4).dropna()
      pd.testing.assert_frame_equal(
          r.execute().fetch(), df_raw.dropna()
      )
  
      r = md.DataFrame(df_raw, chunk_size=4).dropna(how="all")
      pd.testing.assert_frame_equal(
          r.execute().fetch(), df_raw.dropna(how="all")
      )
  
      r = md.DataFrame(df_raw, chunk_size=4).dropna(subset=list("ABFI"))
      pd.testing.assert_frame_equal(
          r.execute().fetch(), df_raw.dropna(subset=list("ABFI"))
      )
  
      r = md.DataFrame(df_raw, chunk_size=4).dropna(
          how="all", subset=list("BDHJ")
      )
      pd.testing.assert_frame_equal(
          r.execute().fetch(),
          df_raw.dropna(how="all", subset=list("BDHJ")),
      )
  
      r = md.DataFrame(df_raw, chunk_size=4)
      r.dropna(how="all", inplace=True)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), df_raw.dropna(how="all")
      )
  
      # series cases
      series_raw = pd.Series(np.nan, index=range(20))
      for _ in range(10):
          series_raw.iloc[random.randint(0, 19)] = random.randint(0, 99)
  
      r = md.Series(series_raw, chunk_size=4).dropna()
      pd.testing.assert_series_equal(
          r.execute().fetch(), series_raw.dropna()
      )
  
      r = md.Series(series_raw, chunk_size=4)
      r.dropna(inplace=True)
      pd.testing.assert_series_equal(
          r.execute().fetch(), series_raw.dropna()
      )
  
      # index cases
      idx_data = np.array([np.nan] * 20)
      for _ in range(10):
          idx_data[random.randint(0, 19)] = random.randint(0, 99)
      idx_raw = pd.Index(idx_data)
  
      r = md.Index(idx_raw, chunk_size=4).dropna()
      pd.testing.assert_index_equal(
          r.execute().fetch(), idx_raw.dropna()
      )
  
file_path: mars/mars/dataframe/missing/tests/test_missing_execution.py
imports: import random
  import re
  import string
  import numpy
  import pandas
  from ....None import dataframe
label_desc: Use image node_id 5 for calling a global function with example usage: test_drop_na_execution(setup) without return types