Dataset Preview
Duplicate
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 1 new columns ({'latitude'})

This happened while the csv dataset builder was generating data using

hf://datasets/hasilm1/Earthquake_prediction/earthquake1.csv (at revision 1dc222fc877c5565d438dd0e8c82a4cd5b2d236e), ['hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/Xtest.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/Xtrain.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/earthquake1.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/earthquakes.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/ytest.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/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.12/site-packages/datasets/builder.py", line 1837, 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 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              year: int64
              month: int64
              day_of_year: int64
              hour: int64
              latitude: double
              longitude: double
              depth: double
              mag: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1153
              to
              {'year': Value('int64'), 'month': Value('int64'), 'day_of_year': Value('int64'), 'hour': Value('int64'), 'longitude': Value('float64'), 'depth': Value('float64'), 'mag': 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 1361, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 940, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, 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 1839, 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 1 new columns ({'latitude'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/hasilm1/Earthquake_prediction/earthquake1.csv (at revision 1dc222fc877c5565d438dd0e8c82a4cd5b2d236e), ['hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/Xtest.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/Xtrain.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/earthquake1.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/earthquakes.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/ytest.csv', 'hf://datasets/hasilm1/Earthquake_prediction@1dc222fc877c5565d438dd0e8c82a4cd5b2d236e/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.

year
int64
month
int64
day_of_year
int64
hour
int64
longitude
float64
depth
float64
mag
float64
2,015
4
93
10
-178.8497
10
5.3
2,014
12
361
2
-59.6733
41.12
4.3
2,018
7
182
16
-155.262667
0.42
2.83
1,998
10
281
4
-73.011
162.4
4.2
1,983
10
304
3
130.592
123.5
4.7
1,997
7
209
6
142.733
33
5.9
2,024
7
198
1
57.7541
10
4.6
2,012
2
34
22
167.06
10
4.4
2,008
3
61
1
-77.799
55.3
4.6
2,001
11
310
6
160.451
72.1
4.5
2,022
2
56
19
-173.9067
168.5
3
2,014
3
77
15
-97.68
5
2.5
1,992
7
200
20
-117.556
2.165
2.88
2,023
8
234
17
-173.7399
10
2.7
2,014
11
328
7
-97.5288
7.396
2.5
2,018
7
207
23
-44.8881
10
5.1
2,012
6
160
5
130.956
74.3
4.5
1,995
7
195
15
-178.648
550
4.5
2,007
10
277
10
-161.5634
13.1
2.6
2,005
7
210
21
142.493
23.2
3.6
2,010
11
306
4
-95.317
71.1
4.1
1,977
9
258
15
-155.261
-1.092
2.85
2,005
9
271
13
16.08
5
3.2
2,014
1
9
9
-71.812
56.2
4.2
2,008
1
16
10
19.194
5
3
2,014
8
227
8
122.5691
47.8
4.6
1,919
4
107
20
-91.723
35
6.96
2,018
6
172
20
-155.270667
0.78
2.67
1,996
6
173
4
-151.053
113.8
2.9
2,016
8
241
21
-123.407833
35.62
4.49
1,983
10
281
18
159.427
33
4.9
2,026
5
142
1
-46.6299
10
5.1
2,024
1
19
21
127.3223
54.297
4.4
2,025
12
339
13
-66.643
31.58
3.39
2,020
8
233
10
-161.0241
10
2.7
1,987
8
213
7
-174.26
200
4.6
2,002
11
325
0
167.209
200
4.5
1,950
4
107
12
-118.053
6
2.82
1,999
3
81
1
33.039
10
3.5
2,016
8
227
10
-163.4778
10
4
1,976
1
3
5
21.641
27
4.3
2,015
10
274
22
-173.8606
91.49
5.4
2,000
5
124
23
21.98
28
3.1
2,021
6
152
8
123.5749
10
4.7
1,995
9
264
9
29.129
10
2.6
1,996
5
128
9
106.595
33
4.5
2,024
2
47
9
-121.5235
6.45
2.61
2,025
10
297
14
127.4777
10
4.2
1,978
2
55
18
-155.997667
21.069
3.18
1,996
8
231
5
172.357
33
4.3
1,973
9
256
0
-71.44
57
3.9
2,021
1
22
18
-150.5144
93.3
2.6
1,946
3
75
7
-117.8
6
3.6
1,999
2
47
8
170.602
33
4.3
1,983
6
169
6
-178.358
607.7
4.8
2,026
5
133
11
-163.1596
10
2.7
2,009
6
167
2
-121.4765
4.69
2.87
2,010
4
97
6
-115.800333
2.608
2.54
2,012
5
149
11
-63.079
580.6
4.9
2,023
5
147
19
71.3831
182.814
4.2
2,000
6
157
10
-122.330833
8.837
2.51
2,016
10
282
4
-57.3652
10
4.9
2,013
12
358
3
-118.800833
7.616
2.64
1,990
10
286
1
122.109
33
4.6
2,002
9
245
22
147.453
49.5
4.7
2,017
3
65
14
-178.1827
18.3
3.5
2,010
12
356
7
143.661
10
4.3
2,008
2
52
14
-114.8721
7.9
5.9
2,006
12
337
8
22.01
24
3.3
1,987
11
311
18
15.928
10
4.3
2,005
3
73
4
93.152
57.3
4.9
1,949
3
65
7
-116.3415
6
2.73
2,025
2
39
8
25.7169
10
4.4
2,006
3
68
21
94.479
10
3.8
2,001
1
1
8
126.726
33
5
2,025
8
233
10
-121.234667
6.44
2.69
1,988
12
345
9
-62.343
33
2.6
1,993
12
356
18
-178.435
33
4.4
2,021
10
297
6
140.2493
34.68
4.6
1,986
4
117
9
-178.386
571.5
5.4
1,991
6
181
15
-93.073
33
3.7
1,988
9
255
7
-153.5533
138.7
3
2,025
11
332
5
177.0691
106.159
3
2,000
1
17
23
-153.4362
89
2.9
2,011
5
141
20
103.623
10
4.1
2,003
4
103
19
-30.391
10
3.8
2,026
4
98
15
125.5556
10
5
2,018
8
234
14
116.8103
10
4.9
1,987
11
326
9
-122.852
-0.981
3
2,010
12
362
4
-176.122
25.9
2.6
2,008
5
131
4
23.48
27
3.3
2,023
2
43
21
121.9847
124.972
4.4
1,989
5
142
15
-61.015
10
2.7
2,001
8
233
18
-109.436
0
2.5
1,982
9
249
7
-151.588
33
5.7
2,024
3
63
1
152.6004
35
4.3
2,022
9
244
1
-169.4584
10.809
3.8
2,004
11
312
12
-173.684
62.1
4.2
2,016
9
248
6
179.3808
10
5.1
1,983
5
151
3
-121.092833
8.286
2.61
End of preview.

No dataset card yet

Downloads last month
31