code: def test_append_execution(setup):
      df1 = pd.DataFrame(np.random.rand(10, 4), columns=list("ABCD"))
      df2 = pd.DataFrame(np.random.rand(10, 4), columns=list("ABCD"))
  
      mdf1 = from_pandas(df1, chunk_size=3)
      mdf2 = from_pandas(df2, chunk_size=3)
  
      adf = mdf1.append(mdf2)
      expected = df1.append(df2)
      result = adf.execute().fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      adf = mdf1.append(mdf2, ignore_index=True)
      expected = df1.append(df2, ignore_index=True)
      result = adf.execute(
          extra_config={"check_index_value": False}
      ).fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      mdf1 = from_pandas(df1, chunk_size=3)
      mdf2 = from_pandas(df2, chunk_size=2)
  
      adf = mdf1.append(mdf2)
      expected = df1.append(df2)
      result = adf.execute().fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      adf = mdf1.append(mdf2, ignore_index=True)
      expected = df1.append(df2, ignore_index=True)
      result = adf.execute(
          extra_config={"check_index_value": False}
      ).fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      df3 = pd.DataFrame(np.random.rand(8, 4), columns=list("ABCD"))
      mdf3 = from_pandas(df3, chunk_size=3)
      expected = df1.append([df2, df3])
      adf = mdf1.append([mdf2, mdf3])
      result = adf.execute().fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      adf = mdf1.append(dict(A=1, B=2, C=3, D=4), ignore_index=True)
      expected = df1.append(dict(A=1, B=2, C=3, D=4), ignore_index=True)
      result = adf.execute(
          extra_config={"check_index_value": False}
      ).fetch()
      pd.testing.assert_frame_equal(expected, result)
  
      # test for series
      series1 = pd.Series(np.random.rand(10))
      series2 = pd.Series(np.random.rand(10))
  
      mseries1 = series_from_pandas(series1, chunk_size=3)
      mseries2 = series_from_pandas(series2, chunk_size=3)
  
      aseries = mseries1.append(mseries2)
      expected = series1.append(series2)
      result = aseries.execute().fetch()
      pd.testing.assert_series_equal(expected, result)
  
      aseries = mseries1.append(mseries2, ignore_index=True)
      expected = series1.append(series2, ignore_index=True)
      result = aseries.execute(
          extra_config={"check_index_value": False}
      ).fetch()
      pd.testing.assert_series_equal(expected, result)
  
      mseries1 = series_from_pandas(series1, chunk_size=3)
      mseries2 = series_from_pandas(series2, chunk_size=2)
  
      aseries = mseries1.append(mseries2)
      expected = series1.append(series2)
      result = aseries.execute().fetch()
      pd.testing.assert_series_equal(expected, result)
  
      aseries = mseries1.append(mseries2, ignore_index=True)
      expected = series1.append(series2, ignore_index=True)
      result = aseries.execute(
          extra_config={"check_index_value": False}
      ).fetch()
      pd.testing.assert_series_equal(expected, result)
  
      series3 = pd.Series(np.random.rand(4))
      mseries3 = series_from_pandas(series3, chunk_size=2)
      expected = series1.append([series2, series3])
      aseries = mseries1.append([mseries2, mseries3])
      result = aseries.execute().fetch()
      pd.testing.assert_series_equal(expected, result)
  
file_path: mars/mars/dataframe/merge/tests/test_merge_execution.py
imports: import numpy
  import pandas
  import pytest
  from ....core.graph.builder.utils import build_graph
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
  from ...utils import sort_dataframe_inplace
  from ..None import concat, DataFrameConcat, DataFrameMergeAlign
label_desc: Use image node_id 9 for calling a global function with example usage: test_append_execution(setup) without return types