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
File /usr/local/lib/python3.9/dist-packages/pandas/core/frame.py:3804, in DataFrame.getitem(self, key)
3802 if self.columns.nlevels > 1:
3803 return self._getitem_multilevel(key)
-> 3804 indexer = self.columns.get_loc(key)
3805 if is_integer(indexer):
3806 indexer = [indexer]
File /usr/local/lib/python3.9/dist-packages/pandas/core/indexes/base.py:3805, in Index.get_loc(self, key, method, tolerance)
3803 return self._engine.get_loc(casted_key)
3804 except KeyError as err:
-> 3805 raise KeyError(key) from err
3806 except TypeError:
3807 # If we have a listlike key, _check_indexing_error will raise
3808 # InvalidIndexError. Otherwise we fall through and re-raise
3809 # the TypeError.
3810 self._check_indexing_error(key)
KeyError: 'domain'
The text was updated successfully, but these errors were encountered:
I've experienced the same error. The problem is the underlying database structure has been changed so the field 'domain' no longer contains data. In response, fetch_all_sensor_data() in detective/core.py has been rewritten so it no longer selects 'domain'. so the field doesn't exist in the data frame, and therefore trying to filter on it fails.
What I'm trying to work out is the best way to adapt the getting started note book to incorporate these changes. Any thoughts?
The text was updated successfully, but these errors were encountered: