Open nialloceallaigh opened 9 years ago
Looks like a similar issue to https://github.com/yhat/db.py/issues/75
I put line 274 inside a try/except condition, to ignore the name
column. This allows all other table/columns to be successfully brought into the db.py model. But by doing this you lose the option to refer to that column full stop. Including the loss of column reference using PANDAS
representations or Ipython tab completion
.
274 try:
275 setattr(self, attr, col)
276 except:
277 continue
278 #setattr(self, attr, col)
Looks like it's the same as https://github.com/yhat/db.py/issues/74 also
Error appears to be due to the "_" prepended to the column name if the column name is either "name" or "con". In this specific case dim_cell.name gets prepended to form "_name".