'Remove the given entry from the sorted array.
Parameters
key : tuple
Column values
data : int
Row number
Returns
successful : bool
Whether the entry was successfully removed'

def remove(self, key, data):

    pos = self.find_pos(key, data, exact=True)
    if (pos == (-1)):
        return False
    self.data.remove_row(pos)
    keep_mask = np.ones(len(self.row_index), dtype=np.bool)
    keep_mask[pos] = False
    self.row_index = self.row_index[keep_mask]
    return True
