def load(self, pth): with open(pth, 'rb') as fh: data = read_stata(fh) return data.as_matrix(columns=data.columns[1:])