parameters: (self)
return_statement: return np.diff(group_ptr)
docstring: Get the group of the DMatrix.
  
          Returns
          -------
          group
docstring_summary: Get the group of the DMatrix.
docstring_tokens: Get the group of the DMatrix .
function: def get_group(self) -> np.ndarray:
          """Get the group of the DMatrix.
  
          Returns
          -------
          group
          """
          group_ptr = self.get_uint_info("group_ptr")
          return np.diff(group_ptr)
function_tokens: def get_group ( self ) -> np . ndarray : group_ptr = self . get_uint_info ( "group_ptr" ) return np . diff ( group_ptr )