def values(self, *keys):
if keys:<EOL><INDENT>d = []<EOL>for key in keys:<EOL><INDENT>try:<EOL><INDENT>i = self.index(key)<EOL><DEDENT>except KeyError:<EOL><INDENT>d.append(None)<EOL><DEDENT>else:<EOL><INDENT>d.append(self[i])<EOL><DEDENT><DEDENT>return d<EOL><DEDENT>return list(self)<EOL>
Return the values of the record, optionally filtering to
        include only certain values by index or key.

        :param keys: indexes or keys of the items to include; if none
                     are provided, all values will be included
        :return: list of values