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 33 new columns ({'grid_id', 'magType', 'lat_grid', 'gap', 'days_until_next_local', 'global_30_day_count', 'last_mag', 'nst', 'depth', 'tsunami', 'next_quake_time', 'mag', 'prev_days_since_last', 'lon_grid', 'day_of_year', 'rolling_avg_mag', 'gap_to_avg_ratio', 'time', 'dmin', 'year', 'place', 'type', 'lat_bin', 'hour', 'net', 'lon_bin', 'month', 'rms', 'updated', 'status', 'depth_category', 'id', 'mag_category'})
This happened while the csv dataset builder was generating data using
hf://datasets/hasilm1/Earthquake_PredictNextDate/df.csv (at revision b9f81d2e65d4b6054bde74949d8f2431df43ee5a), ['hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/X_spatial.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/Xtest.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/Xtrain.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/df.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquake.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquakes.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquakes1.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/y_days.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ymag.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ytest.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ytrain.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.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/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.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
time: string
year: int64
month: int64
day_of_year: int64
hour: int64
latitude: double
longitude: double
depth: double
mag: double
magType: string
place: string
type: string
tsunami: int64
mag_category: string
depth_category: string
nst: double
gap: double
dmin: double
rms: double
net: string
updated: string
status: string
lat_bin: double
lon_bin: double
next_quake_time: string
lat_grid: double
lon_grid: double
grid_id: string
days_since_last_local: double
avg_local_gap: double
days_until_next_local: double
last_mag: double
rolling_avg_mag: double
prev_days_since_last: double
gap_acceleration: double
global_30_day_count: double
gap_to_avg_ratio: double
spatial_cluster_id: int64
distance_to_center: double
spatial_cluster_density: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 5168
to
{'latitude': Value('float64'), 'longitude': Value('float64'), 'spatial_cluster_id': Value('int64'), 'distance_to_center': Value('float64'), 'spatial_cluster_density': Value('int64'), 'days_since_last_local': Value('float64'), 'avg_local_gap': Value('float64'), 'gap_acceleration': 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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 33 new columns ({'grid_id', 'magType', 'lat_grid', 'gap', 'days_until_next_local', 'global_30_day_count', 'last_mag', 'nst', 'depth', 'tsunami', 'next_quake_time', 'mag', 'prev_days_since_last', 'lon_grid', 'day_of_year', 'rolling_avg_mag', 'gap_to_avg_ratio', 'time', 'dmin', 'year', 'place', 'type', 'lat_bin', 'hour', 'net', 'lon_bin', 'month', 'rms', 'updated', 'status', 'depth_category', 'id', 'mag_category'})
This happened while the csv dataset builder was generating data using
hf://datasets/hasilm1/Earthquake_PredictNextDate/df.csv (at revision b9f81d2e65d4b6054bde74949d8f2431df43ee5a), ['hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/X_spatial.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/Xtest.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/Xtrain.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/df.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquake.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquakes.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/earthquakes1.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/y_days.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ymag.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ytest.csv', 'hf://datasets/hasilm1/Earthquake_PredictNextDate@b9f81d2e65d4b6054bde74949d8f2431df43ee5a/ytrain.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.
latitude float64 | longitude float64 | spatial_cluster_id int64 | distance_to_center float64 | spatial_cluster_density int64 | days_since_last_local float64 | avg_local_gap float64 | gap_acceleration float64 |
|---|---|---|---|---|---|---|---|
-0.025 | 123.3587 | 1 | 4.476175 | 2,271 | 117 | 157 | -80 |
-0.0383 | 123.4283 | 1 | 4.422256 | 2,271 | 737 | 350.333333 | 620 |
-0.1008 | 123.016 | 1 | 4.813134 | 2,271 | 109 | 233.5 | -249 |
-0.1457 | 125.2455 | 1 | 3.068499 | 2,271 | 249 | 155 | 188 |
-0.1274 | 125.2292 | 1 | 3.0655 | 2,271 | 0 | 103.333333 | -249 |
-0.091 | 97.3276 | 16 | 7.556192 | 161 | 2 | 1 | 2 |
-0.1253 | 97.2984 | 16 | 7.58375 | 161 | 36 | 12.666667 | 34 |
-0.1893 | 125.1093 | 1 | 3.191686 | 2,271 | 46 | 206 | -320 |
-0.1794 | 125.208 | 1 | 3.118547 | 2,271 | 97 | 150.5 | -107 |
-0.1757 | 125.1721 | 1 | 3.13953 | 2,271 | 163 | 154.666667 | 66 |
-0.2006 | 125.1945 | 1 | 3.143395 | 2,271 | 399 | 219.666667 | 236 |
-0.1974 | 125.3093 | 1 | 3.066686 | 2,271 | 101 | 462 | -722 |
-0.1964 | 97.2636 | 16 | 7.646435 | 161 | 0 | 0 | 0 |
-0.1974 | 97.3179 | 16 | 7.65831 | 161 | 0 | 0 | 0 |
-0.2525 | 124.5073 | 1 | 3.666268 | 2,271 | 72 | 191.5 | -239 |
-0.2749 | 124.4653 | 1 | 3.712617 | 2,271 | 392 | 258.333333 | 320 |
-0.9024 | -79.213 | 3 | 23.15775 | 28,156 | 347 | 211 | 272 |
-0.8598 | 98.5035 | 16 | 8.609978 | 161 | 0 | 60.5 | -121 |
-0.8876 | 98.5425 | 16 | 8.648818 | 161 | 0 | 40.333333 | 0 |
-0.8855 | 98.5093 | 16 | 8.636185 | 161 | 0 | 0 | 0 |
-1.0804 | 120.281 | 1 | 7.698713 | 2,271 | 0 | 38 | -76 |
-1.1404 | 120.3453 | 1 | 7.666171 | 2,271 | 1,045 | 373.666667 | 1,045 |
-1.112 | 120.2966 | 1 | 7.697985 | 2,271 | 1 | 348.666667 | -1,044 |
-1.0928 | 127.2642 | 1 | 3.261133 | 2,271 | 6 | 3 | 6 |
-1.0828 | 127.3464 | 1 | 3.252261 | 2,271 | 0 | 2 | -6 |
-1.0524 | 127.2769 | 1 | 3.220772 | 2,271 | 0 | 2 | 0 |
-1.0739 | 127.3492 | 1 | 3.24344 | 2,271 | 66 | 22 | 66 |
-1.0623 | 127.4241 | 1 | 3.234762 | 2,271 | 0 | 9.5 | -19 |
-1.0987 | 127.4191 | 1 | 3.27087 | 2,271 | 0 | 6.333333 | 0 |
-1.138 | 127.3953 | 1 | 3.309071 | 2,271 | 0 | 0 | 0 |
-1.1008 | 127.443 | 1 | 3.274211 | 2,271 | 0 | 0 | 0 |
-1.0605 | 127.3641 | 1 | 3.230487 | 2,271 | 0 | 0 | 0 |
-1.0983 | 127.3579 | 1 | 3.268078 | 2,271 | 6 | 2 | 6 |
-1.1012 | 127.4627 | 1 | 3.275767 | 2,271 | 73 | 36.5 | 73 |
-1.0817 | 127.5218 | 1 | 3.260504 | 2,271 | 40 | 37.666667 | -33 |
-1.1527 | 120.2514 | 1 | 7.756239 | 2,271 | 0 | 522.5 | -1,045 |
-1.2337 | 127.1619 | 1 | 3.403465 | 2,271 | 0 | 0 | 0 |
-1.1688 | 127.2235 | 1 | 3.337338 | 2,271 | 71 | 23.666667 | 71 |
-1.177 | 127.3252 | 1 | 3.345953 | 2,271 | 0 | 113.5 | -227 |
-1.1526 | 127.2649 | 1 | 3.320934 | 2,271 | 0 | 75.666667 | 0 |
-1.1982 | 98.5927 | 16 | 8.959179 | 161 | 0 | 6 | -12 |
-1.5439 | 126.4291 | 1 | 3.804233 | 2,271 | 18 | 9.5 | 17 |
-1.5295 | 126.4129 | 1 | 3.793769 | 2,271 | 17 | 12 | -1 |
-1.4632 | 126.3608 | 1 | 3.741364 | 2,271 | 9 | 14.666667 | -8 |
-1.5266 | 126.4075 | 1 | 3.792154 | 2,271 | 29 | 18.333333 | 20 |
-1.4718 | 126.4705 | 1 | 3.724908 | 2,271 | 0 | 1 | -2 |
-1.5366 | 126.4873 | 1 | 3.78479 | 2,271 | 0 | 0.666667 | 0 |
-1.4963 | 126.4794 | 1 | 3.746988 | 2,271 | 0 | 0 | 0 |
-1.5846 | -77.6956 | 3 | 22.958549 | 28,156 | 521 | 342.5 | 357 |
-1.5601 | 126.4393 | 1 | 3.817835 | 2,271 | 12 | 10.5 | 3 |
-1.92 | 139.1436 | 1 | 12.566553 | 2,271 | 1 | 542.5 | -1,083 |
-10.0147 | 159.798 | 9 | 4.192847 | 1,081 | 0 | 0 | 0 |
-10.0109 | 159.8046 | 9 | 4.192426 | 1,081 | 0 | 0 | 0 |
-10.1323 | 161.1065 | 9 | 3.532724 | 1,081 | 245 | 131 | 228 |
-10.2022 | 161.022 | 9 | 3.490586 | 1,081 | 200 | 396.5 | -393 |
-10.2334 | 161.0694 | 9 | 3.446554 | 1,081 | 279 | 156.5 | 245 |
-10.2074 | 161.102 | 9 | 3.461944 | 1,081 | 60 | 124.333333 | -219 |
-10.2354 | 161.1611 | 9 | 3.418576 | 1,081 | 375 | 187.5 | 375 |
-10.1728 | 161.2187 | 9 | 3.463911 | 1,081 | 9 | 128 | -366 |
-10.1535 | 161.186 | 9 | 3.490925 | 1,081 | 65 | 149.666667 | 56 |
-10.1782 | 161.1685 | 9 | 3.471682 | 1,081 | 268 | 114 | 203 |
-10.2469 | 161.1782 | 9 | 3.402886 | 1,081 | 286 | 206.333333 | 18 |
-10.2258 | 161.2353 | 9 | 3.40844 | 1,081 | 23 | 192.333333 | -263 |
-10.1697 | 161.1718 | 9 | 3.479005 | 1,081 | 7 | 105.333333 | -16 |
-10.2276 | 161.1878 | 9 | 3.418935 | 1,081 | 387 | 139 | 380 |
-10.2234 | 161.3324 | 9 | 3.387713 | 1,081 | 87 | 78.5 | 17 |
-10.1799 | 161.3576 | 9 | 3.42464 | 1,081 | 105 | 223 | -236 |
-10.1917 | 161.395 | 9 | 3.405277 | 1,081 | 3 | 149.666667 | -102 |
-10.2505 | 161.1064 | 9 | 3.419392 | 1,081 | 49 | 95 | -92 |
-10.2765 | 161.1285 | 9 | 3.388158 | 1,081 | 859 | 349.666667 | 810 |
-10.3009 | 161.2431 | 9 | 3.333805 | 1,081 | 483 | 472 | 22 |
-10.3453 | 161.2049 | 9 | 3.30093 | 1,081 | 122 | 355.333333 | -361 |
-10.2531 | 161.2616 | 9 | 3.375464 | 1,081 | 248 | 163.5 | 169 |
-10.2857 | 161.3221 | 9 | 3.329387 | 1,081 | 75 | 134 | -173 |
-10.2715 | 161.2607 | 9 | 3.357853 | 1,081 | 828 | 383.666667 | 753 |
-10.2779 | 161.2594 | 9 | 3.351975 | 1,081 | 40 | 314.333333 | -788 |
-10.2725 | 161.4435 | 9 | 3.316416 | 1,081 | 125 | 119.5 | 11 |
-10.2725 | 161.4437 | 9 | 3.316377 | 1,081 | 124 | 121 | -1 |
-10.3439 | 161.3595 | 9 | 3.264205 | 1,081 | 42 | 97 | -82 |
-10.3027 | 161.365 | 9 | 3.303158 | 1,081 | 98 | 88 | 56 |
-10.2837 | 161.4007 | 9 | 3.314079 | 1,081 | 27 | 55.666667 | -71 |
-10.2874 | 161.4053 | 9 | 3.309504 | 1,081 | 121 | 82 | 94 |
-10.2802 | 161.3712 | 9 | 3.323764 | 1,081 | 52 | 66.666667 | -69 |
-10.2581 | 161.3838 | 9 | 3.342656 | 1,081 | 1 | 58 | -51 |
-10.3341 | 161.5134 | 9 | 3.242851 | 1,081 | 14 | 201.5 | -375 |
-10.2844 | 161.4506 | 9 | 3.303363 | 1,081 | 446 | 283 | 432 |
-10.316 | 161.4945 | 9 | 3.264063 | 1,081 | 68 | 176 | -378 |
-10.2699 | 161.4662 | 9 | 3.314614 | 1,081 | 77 | 197 | 9 |
-10.331 | 161.5065 | 9 | 3.247136 | 1,081 | 43 | 62.666667 | -34 |
-10.2623 | 161.4872 | 9 | 3.318194 | 1,081 | 132 | 84 | 89 |
-10.3527 | 161.4028 | 9 | 3.246178 | 1,081 | 189 | 127 | 124 |
-10.422 | 161.3749 | 9 | 3.184641 | 1,081 | 297 | 183.666667 | 108 |
-10.4108 | 161.463 | 9 | 3.17698 | 1,081 | 438 | 284.5 | 307 |
-10.4212 | 161.534 | 9 | 3.153479 | 1,081 | 302 | 290.333333 | -136 |
-10.375 | 161.5426 | 9 | 3.197478 | 1,081 | 178 | 306 | -124 |
-10.7295 | 113.4056 | 1 | 18.92927 | 2,271 | 2 | 1.5 | 1 |
-10.7339 | 113.4014 | 1 | 18.935342 | 2,271 | 8 | 3.666667 | 6 |
-10.7304 | 113.4073 | 1 | 18.928639 | 2,271 | 16 | 8.666667 | 8 |
-10.746 | 113.3914 | 1 | 18.950907 | 2,271 | 58 | 27.333333 | 42 |
-10.6592 | 165.8957 | 9 | 4.763519 | 1,081 | 109 | 153.5 | -89 |
End of preview.
No dataset card yet
- Downloads last month
- 432