Lines Matching refs:keys
47 def __init__(self, filename, separator, column_names, keys,
63 if isinstance(keys, str):
64 self.keys = [keys]
66 self.keys = keys
70 assert(set(self.column_names) >= set(self.keys))
74 self.filename, self.keys, self.column_names, self.index)
112 self.index[tuple(dic[k] for k in self.keys)] = \
121 val = self.index.get(tuple(template[k] for k in self.keys), None)
137 orig = self.index[tuple(template[k] for k in self.keys)].copy()
157 orig = self.index.get(tuple(template[k] for k in self.keys), None)
161 del self.index[tuple(orig[1][k] for k in self.keys)]
167 self.index[tuple(template[k] for k in self.keys)] = \
172 del self.index[tuple(template[k] for k in self.keys)]