def index_from_pos pos
      cat_from_int @array[pos]
    end
Returns index value from position
@param pos [Integer] the position to look for
@return [object] category corresponding to position
@example
idx = Daru::CategoricalIndex.new [:a, :b, :a, :b, :c]
idx.index_from_pos 1
# => :b