def value_at(self, x, y):
x = Quantity(x, self.xindex.unit).value<EOL>y = Quantity(y, self.yindex.unit).value<EOL>try:<EOL><INDENT>idx = (self.xindex.value == x).nonzero()[<NUM_LIT:0>][<NUM_LIT:0>]<EOL><DEDENT>except IndexError as exc:<EOL><INDENT>exc.args = ("<STR_LIT>" % x,)<EOL>raise<EOL><DEDENT>try:<EOL><INDENT>idy = (self.yindex.value == y).nonzero()[<NUM_LIT:0>][<NUM_LIT:0>]<EOL><DEDENT>except IndexError as exc:<EOL><INDENT>exc.args = ("<STR_LIT>",)<EOL>raise<EOL><DEDENT>return self[idx, idy]<EOL>
Return the value of this `Series` at the given `(x, y)` coordinates

        Parameters
        ----------
        x : `float`, `~astropy.units.Quantity`
            the `xindex` value at which to search
        x : `float`, `~astropy.units.Quantity`
            the `yindex` value at which to search

        Returns
        -------
        z : `~astropy.units.Quantity`
            the value of this Series at the given coordinates