def get_value(self, f, i, values=False):
<EOL>if values:<EOL><INDENT>return f.values[i]<EOL><DEDENT>with catch_warnings(record=True):<EOL><INDENT>filterwarnings("<STR_LIT:ignore>", "<STR_LIT>", DeprecationWarning)<EOL>return f.ix[i]<EOL><DEDENT>
return the value for the location i