code: def test_groupby_no_data(pd_es):
      cum_count = Feature(
          IdentityFeature(pd_es["log"].ww["product_id"]),
          groupby=IdentityFeature(pd_es["log"].ww["product_id"]),
          primitive=CumCount,
      )
      last_feat = Feature(
          cum_count, parent_dataframe_name="customers", primitive=Last
      )
      df = calculate_feature_matrix(
          entityset=pd_es,
          features=[last_feat],
          cutoff_time=pd.Timestamp("2011-04-08"),
      )
      cvalues = df[last_feat.get_name()].values
      assert len(cvalues) == 2
      assert all([pd.isnull(value) for value in cvalues])
  
imports: import numpy
  import pandas
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime
  from featuretools import Feature, GroupByTransformFeature, IdentityFeature, calculate_feature_matrix, feature_base
  from featuretools.computational_backends.feature_set import FeatureSet
  from featuretools.computational_backends.feature_set_calculator import FeatureSetCalculator
  from featuretools.primitives import CumCount, CumMax, CumMean, CumMin, CumSum, Last
  from featuretools.primitives.base import TransformPrimitive
  from featuretools.synthesis import dfs
  from featuretools.tests.testing_utils import feature_with_name
label_desc: Use image node_id 10 for calling a global function with example usage: test_groupby_no_data(pd_es) without return types