Remove the elements of the zset which have rank in the range
        [rank_start,rank_end].
        
        .. note:: The range is [``rank_start``, ``rank_end``]

        :param string name: the zset name
        :param int rank_start: zero or positive,the start position
        :param int rank_end: zero or positive,the end position
        :return: the number of deleted elements
        :rtype: int
        
        >>> ssdb.zremrangebyrank('zset_1', 0, 2)
        3
        >>> ssdb.zremrangebyrank('zset_1', 1, 4)
        5
        >>> ssdb.zremrangebyrank('zset_1', 0, 0)
        1

def zremrangebyrank(self, name, rank_start, rank_end):
        """
        Remove the elements of the zset which have rank in the range
        [rank_start,rank_end].
        
        .. note:: The range is [``rank_start``, ``rank_end``]

        :param string name: the zset name
        :param int rank_start: zero or positive,the start position
        :param int rank_end: zero or positive,the end position
        :return: the number of deleted elements
        :rtype: int
        
        >>> ssdb.zremrangebyrank('zset_1', 0, 2)
        3
        >>> ssdb.zremrangebyrank('zset_1', 1, 4)
        5
        >>> ssdb.zremrangebyrank('zset_1', 0, 0)
        1
        """        
        rank_start = get_nonnegative_integer('rank_start', rank_start)
        rank_end = get_nonnegative_integer('rank_end', rank_end)
        return self.execute_command('zremrangebyrank', name, rank_start,
                                    rank_end)