Traceback (most recent call last):


 "/Users/christoph/anaconda/envs/thesis/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-36-fb48161daf63>", line 1, in <module>

convert_smart('/Users/christoph/thesis-dev/data/smart', 'smart-test.h5')


 "/Users/christoph/anaconda/envs/thesis/lib/python3.6/site-packages/nilmtk/dataset_converters/smart/convert_smart.py", line 46, in convert_smart

_convert(smart_path, store, _smart_measurement_mapping_func, 'US/Eastern')


 "/Users/christoph/anaconda/envs/thesis/lib/python3.6/site-packages/nilmtk/dataset_converters/smart/convert_smart.py", line 138, in _convert

df_all_years['Date & Time'], utc=True)


 "/Users/christoph/anaconda/envs/thesis/lib/python3.6/site-packages/pandas/core/frame.py", line 2995, in __getitem__

indexer = self.columns.get_loc(key)


 "/Users/christoph/anaconda/envs/thesis/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2899, in get_loc

return self._engine.get_loc(self._maybe_cast_indexer(key))


 "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item


 "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Date & Time'

Traceback (most recent call last):


 "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute

return self.cursor.execute(sql, params)


 "/home/anarcat/.virtualenvs/archivebox/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute

return Database.Cursor.execute(self, query, params)
sqlite3.IntegrityError: UNIQUE constraint failed: core_snapshot.timestamp
