Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
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 10 new columns ({'lat', 'cluster', 'jumlah_banjir', 'kode_provinsi', 'lon', 'nama_kabupaten_kota', 'kategori', 'jumlah_sampah', 'kode_kabupaten_kota', 'nama_provinsi'}) and 2 missing columns ({'inertia', 'k'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Azkiaa30/ecoclusterjabar.web.id/backend/data/hasil_cluster.csv (at revision d28ea3879e4b117bb091d9b9f06fdab0f3092a45), [/tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/elbow_data.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/elbow_data.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_cluster.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_cluster.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_eda_etl.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_eda_etl.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/jabar_clustered_data.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/jabar_clustered_data.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_cluster.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_cluster.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_eda_etl.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_eda_etl.csv)]
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
kode_provinsi: int64
nama_provinsi: string
kode_kabupaten_kota: int64
nama_kabupaten_kota: string
jumlah_banjir: int64
jumlah_sampah: double
cluster: int64
kategori: string
lat: double
lon: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1473
to
{'k': Value('int64'), 'inertia': Value('float64')}
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 1348, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, 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 10 new columns ({'lat', 'cluster', 'jumlah_banjir', 'kode_provinsi', 'lon', 'nama_kabupaten_kota', 'kategori', 'jumlah_sampah', 'kode_kabupaten_kota', 'nama_provinsi'}) and 2 missing columns ({'inertia', 'k'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Azkiaa30/ecoclusterjabar.web.id/backend/data/hasil_cluster.csv (at revision d28ea3879e4b117bb091d9b9f06fdab0f3092a45), [/tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/elbow_data.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/elbow_data.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_cluster.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_cluster.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_eda_etl.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/hasil_eda_etl.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/jabar_clustered_data.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/backend/data/jabar_clustered_data.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_cluster.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_cluster.csv), /tmp/hf-datasets-cache/medium/datasets/63119153344822-config-parquet-and-info-Azkiaa30-ecoclusterjabar--01009a13/hub/datasets--Azkiaa30--ecoclusterjabar.web.id/snapshots/d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_eda_etl.csv (origin=hf://datasets/Azkiaa30/ecoclusterjabar.web.id@d28ea3879e4b117bb091d9b9f06fdab0f3092a45/data_final/hasil_eda_etl.csv)]
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.
k int64 | inertia float64 |
|---|---|
1 | 54 |
2 | 27.40195 |
3 | 10.729072 |
4 | 4.973959 |
5 | 3.692835 |
6 | 2.885441 |
7 | 2.261429 |
8 | 1.747991 |
9 | 1.333388 |
10 | 0.968561 |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
null | null |
End of preview.
No dataset card yet
- Downloads last month
- 82