You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following command, with airbnb_demo or biodegradability
python examples/demo.py airbnb_demo
I get an error at the following line (traceback below). Indeed, neither extended_table or extension.reset_index() have the primarey key column.
Traceback (most recent call last):
File "…/SDV/examples/demo.py", line 69, in <module>
run_demo(sys.argv[1])
File "…/SDV/examples/demo.py", line 53, in run_demo
sdv.fit()
File "…/SDV/sdv/sdv.py", line 45, in fit
self.modeler.model_database()
File "…/SDV/sdv/modeler.py", line 243, in model_database
self.RCPA(table)
File "…/SDV/sdv/modeler.py", line 237, in RCPA
self.CPA(table)
File "…/SDV/sdv/modeler.py", line 222, in CPA
extended_table = extended_table.merge(extension, how='left', on=pk)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/frame.py", line 5370, in merge
copy=copy, indicator=indicator, validate=validate)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 57, in merge
validate=validate)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 565, in __init__
self.join_names) = self._get_merge_keys()
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/reshape/merge.py", line 824, in _get_merge_keys
right_keys.append(right[rk]._values)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/frame.py", line 2139, in __getitem__
return self._getitem_column(key)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/frame.py", line 2146, in _getitem_column
return self._get_item_cache(key)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/generic.py", line 1842, in _get_item_cache
values = self._data.get(item)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/internals.py", line 3843, in get
loc = self.items.get_loc(item)
File "…/SDV/venv/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2527, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'id'
The text was updated successfully, but these errors were encountered:
Do you mind adding the commit sha? This repository is under active development and having the commit this issue is related to will make helping you easier.
Description
Running the following command, with airbnb_demo or biodegradability
I get an error at the following line (traceback below). Indeed, neither
extended_table
orextension.reset_index()
have the primarey key column.The text was updated successfully, but these errors were encountered: