def integer_array(values, dtype=None, copy=False):
values, mask = coerce_to_array(values, dtype=dtype, copy=copy)<EOL>return IntegerArray(values, mask)<EOL>
Infer and return an integer array of the values.

Parameters
----------
values : 1D list-like
dtype : dtype, optional
    dtype to coerce
copy : boolean, default False

Returns
-------
IntegerArray

Raises
------
TypeError if incompatible types