parameters: (self, group_id, samples_count)
docstring: Check group_id length.
docstring_summary: Check group_id length.
docstring_tokens: Check group_id length .
function: def _check_group_id_shape(self, group_id, samples_count):
          """
          Check group_id length.
          """
          if len(group_id) != samples_count:
              raise CatBoostError("Length of group_id={} and length of data={} are different.".format(len(group_id), samples_count))
function_tokens: def _check_group_id_shape ( self , group_id , samples_count ) : if len ( group_id ) != samples_count : raise CatBoostError ( "Length of group_id={} and length of data={} are different." . format ( len ( group_id ) , samples_count ) )