def is_array(obj):
    """Test if input object is a numerical vector.

    > *Input arguments*

    * `obj`: Input variable.

    > *Returns*

    `True`, if `obj` is a vector.
    """
    import collections
    return isinstance(obj, collections.Iterable) and not isinstance(obj, str)
