def __iter__(self):
    '\n        Return an iterator of the values.\n\n        These are each a scalar type, which is a Python scalar\n        (for str, int, float) or a pandas scalar\n        (for Timestamp/Timedelta/Interval/Period)\n\n        Returns\n        -------\n        iterator\n        '
    if (not isinstance(self._values, np.ndarray)):
        return iter(self._values)
    else:
        return map(self._values.item, range(self._values.size))
Return an iterator of the values.

These are each a scalar type, which is a Python scalar
(for str, int, float) or a pandas scalar
(for Timestamp/Timedelta/Interval/Period)

Returns
-------
iterator
def __iter__(self):
    '\n        Return an iterator of the values.\n\n        These are each a scalar type, which is a Python scalar\n        (for str, int, float) or a pandas scalar\n        (for Timestamp/Timedelta/Interval/Period)\n\n        Returns\n        -------\n        iterator\n        '
    if (not isinstance(self._values, np.ndarray)):
        return iter(self._values)
    else:
        return map(self._values.item, range(self._values.size))