def item(self):
        """ return the first element of the underlying data as a python
        scalar
        """
        try:
            return self.values.item()
        except __HOLE__:
            # copy numpy's message here because Py26 raises an IndexError
            raise ValueError('can only convert an array of size 1 to a '
                             'Python scalar')
dataset/ETHPy150Open pydata/pandas/pandas/core/base.py/IndexOpsMixin.item