code: def test_groupby_dropna_normal_index_dataframe(dropna, idx, outputs):
      # GH 3729
      df_list = [
          ["B", 12, 12, 12],
          [None, 12.3, 233.0, 12],
          ["A", 123.23, 123, 1],
          ["B", 1, 1, 1.0],
      ]
      df = pd.DataFrame(df_list, columns=["a", "b", "c", "d"])
      grouped = df.groupby("a", dropna=dropna).sum()
  
      expected = pd.DataFrame(
          outputs, index=pd.Index(idx, dtype="object", name="a")
      )
  
      tm.assert_frame_equal(grouped, expected)
  
imports: import numpy
  import pytest
  from pandas.compat.pyarrow import pa_version_under10p1
  from pandas.core.dtypes.missing import na_value_for_dtype
  import pandas
  import pandas._testing
  from pandas.tests.groupby import get_groupby_method_args
label_desc: Use image node_id 3 for calling a global function with example usage: test_groupby_dropna_normal_index_dataframe(dropna, idx, outputs) without return types