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 5 new columns ({'phone', 'name', 'tourism', 'opening_hours', 'id'}) and 5 missing columns ({'Museum Visitors', 'City', 'Tourists', 'Total nights', 'OSM ID'}).

This happened while the csv dataset builder was generating data using

hf://datasets/RecSysTUM/CityPOIs/csv/aquariums.csv (at revision f9d026d3e0404f054c2277ce869c7310c8c39ca7)

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
              Unnamed: 0: int64
              geometry: string
              name: string
              opening_hours: string
              phone: string
              tourism: string
              id: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1056
              to
              {'Unnamed: 0': Value(dtype='int64', id=None), 'City': Value(dtype='string', id=None), 'Tourists': Value(dtype='int64', id=None), 'Total nights': Value(dtype='float64', id=None), 'Museum Visitors': Value(dtype='float64', id=None), 'OSM ID': Value(dtype='int64', id=None), 'geometry': 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 1324, 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 938, 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 ({'phone', 'name', 'tourism', 'opening_hours', 'id'}) and 5 missing columns ({'Museum Visitors', 'City', 'Tourists', 'Total nights', 'OSM ID'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/RecSysTUM/CityPOIs/csv/aquariums.csv (at revision f9d026d3e0404f054c2277ce869c7310c8c39ca7)
              
              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.

Unnamed: 0
int64
City
string
Tourists
int64
Total nights
float64
Museum Visitors
float64
OSM ID
int64
geometry
string
0
Setúbal
172,900
193,232
36,888
5,401,851
MULTIPOLYGON (((-9.0449876 38.5386718, -9.0449399 38.5384541, -9.0446587 38.5378658, -9.0443113 38.5373602, -9.0437914 38.5367849, -9.0436587 38.5365945, -9.0433372 38.5358841, -9.0432567 38.53564, -9.0432438 38.5353744, -9.0433449 38.5349233, -9.0434584 38.5346286, -9.0441808 38.5330707, -9.0446775 38.5321106, -9.0451...
1
Perugia
326,772
445,879
131,098
42,106
"MULTIPOLYGON (((11.9248213 43.0757353, 11.9247896 43.0756619, 11.9247081 43.0755848, 11.9247026 43.(...TRUNCATED)
2
Halle an der Saale
46,474
248,515
null
62,638
"MULTIPOLYGON (((11.855254 51.5142684, 11.855264 51.5144607, 11.8554664 51.5144682, 11.8563957 51.51(...TRUNCATED)
4
Veszprém
30,708
70,178
12,513
1,078,442
"MULTIPOLYGON (((17.8284897 47.1757123, 17.8262547 47.1760667, 17.825137 47.1760547, 17.8240017 47.1(...TRUNCATED)
5
Bottrop
13,253
44,209
null
62,634
"MULTIPOLYGON (((6.8328951 51.5799377, 6.8329599 51.579933, 6.8330542 51.579926, 6.8331188 51.579930(...TRUNCATED)
6
Koblenz
113,197
477,529
null
62,512
"MULTIPOLYGON (((7.4821572 50.3494246, 7.4782507 50.3531803, 7.4816738 50.3558441, 7.4853494 50.3563(...TRUNCATED)
7
Debrecen
155,436
198,548
70,591
1,444,234
"MULTIPOLYGON (((21.4406254 47.5266998, 21.5392654 47.5196633, 21.5357195 47.4938023, 21.5358855 47.(...TRUNCATED)
8
Prešov
44,236
50,241
35,556
2,320,257
"MULTIPOLYGON (((21.1571138 48.9727436, 21.1575033 48.9727266, 21.1575625 48.9728589, 21.1575092 48.(...TRUNCATED)
9
Málaga
2,265,823
1,076,061
null
340,746
"MULTIPOLYGON (((-4.5878888 36.784113, -4.5870866 36.7832494, -4.5867807 36.7830913, -4.5860156 36.7(...TRUNCATED)
10
Cáceres
114,310
236,641
null
1,899,973
"MULTIPOLYGON (((-6.8020698 39.3894969, -6.8020541 39.3892093, -6.8017962 39.3883081, -6.8017032 39.(...TRUNCATED)
End of preview.
README.md exists but content is empty.
Downloads last month
70