Unique-func
This function takes a vector vs and returns the unique values. You can decide whether to sort the unique output values and how to reduce the duplicated values.
vector<string> Unique(vector<string> vs[, int Sort, int Occurrence])
vs
Sort
Occurrence
Returns a vector of the unique values in vs.
newbook; col(A) = {1,10,15,8,2}; col(B) = unique(col(A));