
scalytics/LST-E
Updated
•
2
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 5 new columns ({'__index_level_0__', '__index_level_3__', '36:57.902217+00', '__index_level_2__', '__index_level_1__'}) and 5 missing columns ({'device_id', 'value', 'device_name', 'timestamp', 'property'}). This happened while the csv dataset builder was generating data using hf://datasets/scalytics/smartmeterdata/smartmeter_xab.csv (at revision 5a056f6c57a018b232de870936f7f0385741b768) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast 36:57.902217+00: string __index_level_0__: string __index_level_1__: string __index_level_2__: string __index_level_3__: double -- schema metadata -- pandas: '{"index_columns": ["__index_level_0__", "__index_level_1__", "__' + 883 to {'device_id': Value(dtype='string', id=None), 'device_name': Value(dtype='string', id=None), 'property': Value(dtype='string', id=None), 'value': Value(dtype='float64', id=None), 'timestamp': Value(dtype='string', id=None)} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 5 new columns ({'__index_level_0__', '__index_level_3__', '36:57.902217+00', '__index_level_2__', '__index_level_1__'}) and 5 missing columns ({'device_id', 'value', 'device_name', 'timestamp', 'property'}). This happened while the csv dataset builder was generating data using hf://datasets/scalytics/smartmeterdata/smartmeter_xab.csv (at revision 5a056f6c57a018b232de870936f7f0385741b768) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
device_id
string | device_name
string | property
string | value
float64 | timestamp
string |
---|---|---|---|---|
0x7 | hardcoded-test | voltage-p3 | 243.6146 | 2020-06-26 10:58:05.812186+00 |
0x7 | hardcoded-test | current-p3 | -0.076694 | 2020-06-26 10:58:05.812186+00 |
0x7 | hardcoded-test | current-total | -0.233661 | 2020-06-26 10:58:05.812186+00 |
0x7 | hardcoded-test | power-p1 | -0.271782 | 2020-06-26 10:58:05.812186+00 |
0x7 | hardcoded-test | current-total | -0.229458 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | power-p2 | 0.271782 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | power-total | -1.106541 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | voltage-p2 | 244.3141 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | current-p3 | -0.079872 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | current-p1 | -0.07757 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | current-p2 | -0.072015 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | power-p1 | -0.232956 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | power-p3 | -1.145367 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | voltage-p1 | 236.9425 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | voltage-p3 | 243.7816 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | api.infinimesh.io | 15.8 | 2020-06-26 10:58:11.855156+00 |
0x7 | hardcoded-test | voltage-p3 | 243.7305 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | current-p2 | -0.074242 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | current-p3 | -0.075418 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | current-total | -0.2212 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | power-p1 | -0.407673 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | power-p3 | -1.087128 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | current-p1 | -0.07154 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | power-p2 | -0.912411 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | power-total | -0.174717 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | voltage-p1 | 236.8537 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | voltage-p2 | 244.3289 | 2020-06-26 10:58:17.902624+00 |
0x7 | hardcoded-test | current-p1 | -0.076819 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | current-p3 | -0.071615 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | power-p2 | 0.232956 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | voltage-p1 | 236.4731 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | voltage-p2 | 244.1139 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | current-p2 | -0.076719 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | current-total | -0.225154 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | power-p1 | -0.330021 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | power-p3 | -1.184193 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | power-total | -1.281258 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | voltage-p3 | 243.5269 | 2020-06-26 10:58:22.948074+00 |
0x7 | hardcoded-test | current-p2 | -0.074492 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | power-p2 | -0.465912 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | power-p3 | -0.679455 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | power-total | -1.455975 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | voltage-p2 | 244.3064 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | current-p1 | -0.07782 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | current-p3 | -0.075593 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | current-total | -0.227906 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | power-p1 | -0.310608 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | voltage-p1 | 236.6819 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | voltage-p3 | 243.5891 | 2020-06-26 10:58:28.74779+00 |
0x7 | hardcoded-test | voltage-p2 | 244.5009 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | voltage-p3 | 243.5555 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | api.infinimesh.io | 14.5 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | current-p2 | -0.073767 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | current-total | -0.222276 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | power-p1 | -0.330021 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | power-p2 | -0.252369 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | voltage-p1 | 236.7904 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | current-p1 | -0.072916 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | power-p3 | -1.650105 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | power-total | -2.232495 | 2020-06-26 10:58:33.781215+00 |
0x7 | hardcoded-test | power-p3 | 0.058239 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | power-total | 1.533627 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | voltage-p1 | 236.8908 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | voltage-p2 | 244.6071 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | current-p2 | -0.075318 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | current-total | -0.222351 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | power-p2 | 0.815346 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | voltage-p3 | 243.9988 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | current-p1 | -0.074417 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | current-p3 | -0.072616 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | power-p1 | 0.660042 | 2020-06-26 10:58:39.810897+00 |
0x7 | hardcoded-test | current-p1 | -0.076644 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | current-p3 | -0.078846 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | power-p3 | -2.077191 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | power-total | -0.349434 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | voltage-p2 | 244.1609 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | voltage-p3 | 243.5977 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | current-p2 | -0.076094 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | current-total | -0.231584 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | power-p1 | 1.028889 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | power-p2 | 0.698868 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | voltage-p1 | 236.5371 | 2020-06-26 10:58:45.873763+00 |
0x7 | hardcoded-test | current-p3 | -0.075994 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | power-p2 | -1.203606 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | power-p3 | -1.417149 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | voltage-p2 | 244.5804 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | api.infinimesh.io | 15.4 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | current-p2 | -0.078521 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | power-p1 | 0.427086 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | power-total | 1.494801 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | voltage-p1 | 236.9541 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | voltage-p3 | 243.7271 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | current-p1 | -0.073892 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | current-total | -0.228407 | 2020-06-26 10:58:51.908917+00 |
0x7 | hardcoded-test | power-total | -1.863648 | 2020-06-26 10:58:56.954008+00 |
0x7 | hardcoded-test | voltage-p1 | 236.6923 | 2020-06-26 10:58:56.954008+00 |
0x7 | hardcoded-test | current-p1 | -0.074567 | 2020-06-26 10:58:56.954008+00 |
0x7 | hardcoded-test | current-p2 | -0.076019 | 2020-06-26 10:58:56.954008+00 |
0x7 | hardcoded-test | current-p3 | -0.078496 | 2020-06-26 10:58:56.954008+00 |
0x7 | hardcoded-test | current-total | -0.229082 | 2020-06-26 10:58:56.954008+00 |
Real-world smartmeter dataset, 220V, 50Hz (EU)