code: def test_groupby_sum_below_mincount_nullable_integer():
      # https://github.com/pandas-dev/pandas/issues/32861
      df = DataFrame(
          {"a": [0, 1, 2], "b": [0, 1, 2], "c": [0, 1, 2]},
          dtype="Int64",
      )
      grouped = df.groupby("a")
      idx = pd.Index([0, 1, 2], name="a", dtype="Int64")
  
      result = grouped["b"].sum(min_count=2)
      expected = Series([pd.NA] * 3, dtype="Int64", index=idx, name="b")
      tm.assert_series_equal(result, expected)
  
      result = grouped.sum(min_count=2)
      expected = DataFrame(
          {"b": [pd.NA] * 3, "c": [pd.NA] * 3}, dtype="Int64", index=idx
      )
      tm.assert_frame_equal(result, expected)
  
imports: import builtins
  import datetime
  from string import ascii_lowercase
  import numpy
  import pytest
  from pandas._libs.tslibs import iNaT
  import pandas
  from pandas import DataFrame, MultiIndex, Series, Timestamp, date_range, isna
  import pandas._testing
  from pandas.util import _test_decorators
label_desc: Use image node_id 43 for calling a global function with example usage: test_groupby_sum_below_mincount_nullable_integer() without return types