def get_uint_info(self, field):
        """Get unsigned integer property from the DMatrix.

        Parameters
        ----------
        field: str
            The field name of the information

        Returns
        -------
        info : array
            a numpy array of float information of the data
        """
        length = ctypes.c_ulong()
        ret = ctypes.POINTER(ctypes.c_uint)()
        _check_call(_LIB.XGDMatrixGetUIntInfo(self.handle,
                                              c_str(field),
                                              ctypes.byref(length),
                                              ctypes.byref(ret)))
        return ctypes2numpy(ret, length.value, np.uint32)
def get_uint_info ( self , field ) : length = ctypes . c_ulong ( ) ret = ctypes . POINTER ( ctypes . c_uint ) ( ) _check_call ( _LIB . XGDMatrixGetUIntInfo ( self . handle , c_str ( field ) , ctypes . byref ( length ) , ctypes . byref ( ret ) ) ) return ctypes2numpy ( ret , length . value , np . uint32 )
Get unsigned integer property from the DMatrix.

        Parameters
        ----------
        field: str
            The field name of the information

        Returns
        -------
        info : array
            a numpy array of float information of the data