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 8 new columns ({'WetBulb', 'ComfortScore', 'Ranking', 'AvgH', 'WBGT', 'AvgT', 'UpdatedAt', 'HeatIndex'}) and 4 missing columns ({'AvgTemperature', 'AvgHumidity', 'Term', 'ComfortLevelEn'}).

This happened while the csv dataset builder was generating data using

hf://datasets/yahikoyama/weather2-data/all_weekly_comfortable_region.csv (at revision 8b56ce8dc3df9ade31679e850126520c07db7ef4), ['hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/all_weekly_average_temp_humidity_di.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/all_weekly_comfortable_region.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/city-list.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/largest_temp_range_top10.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 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, 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 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              Ranking: int64
              FromDate: string
              ToDate: string
              CityCode: int64
              CityEn: string
              CountryCode: string
              AvgT: double
              AvgH: int64
              HeatIndex: double
              WetBulb: double
              WBGT: double
              DiscomfortIndex: double
              ComfortScore: double
              UpdatedAt: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1896
              to
              {'FromDate': Value('string'), 'ToDate': Value('string'), 'CityCode': Value('int64'), 'CityEn': Value('string'), 'CountryCode': Value('string'), 'AvgTemperature': Value('float64'), 'AvgHumidity': Value('float64'), 'DiscomfortIndex': Value('float64'), 'ComfortLevelEn': Value('string'), 'Term': Value('string')}
              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 1379, 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 956, 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 1702, 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 1858, 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 8 new columns ({'WetBulb', 'ComfortScore', 'Ranking', 'AvgH', 'WBGT', 'AvgT', 'UpdatedAt', 'HeatIndex'}) and 4 missing columns ({'AvgTemperature', 'AvgHumidity', 'Term', 'ComfortLevelEn'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/yahikoyama/weather2-data/all_weekly_comfortable_region.csv (at revision 8b56ce8dc3df9ade31679e850126520c07db7ef4), ['hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/all_weekly_average_temp_humidity_di.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/all_weekly_comfortable_region.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/city-list.csv', 'hf://datasets/yahikoyama/weather2-data@8b56ce8dc3df9ade31679e850126520c07db7ef4/largest_temp_range_top10.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.

FromDate
string
ToDate
string
CityCode
int64
CityEn
string
CountryCode
string
AvgTemperature
float64
AvgHumidity
float64
DiscomfortIndex
float64
ComfortLevelEn
string
Term
string
2026-11-23
2026-11-29
3,008
Ulaanbaatar
MN
-13.78
75
14.19
Extremely Cold
1w
2026-11-23
2026-11-29
3,003
Norilsk
RU
-13.45
96
8.9
Extremely Cold
1w
2026-11-23
2026-11-29
4,044
Qaanaaq
GL
-12.6
67
18.15
Extremely Cold
1w
2026-11-23
2026-11-29
3,005
Yellowknife
CA
-10.45
96
14.17
Extremely Cold
1w
2026-11-23
2026-11-29
4,025
Kiruna
SE
-9.57
89
17.39
Extremely Cold
1w
2026-11-23
2026-11-29
3,004
Utqiagvik
US
-8.67
87
19.37
Extremely Cold
1w
2026-11-23
2026-11-29
3,006
Nuuk
GL
-6.92
78
24.2
Extremely Cold
1w
2026-11-23
2026-11-29
4,031
McMurdo
AQ
-6.83
64
27.28
Extremely Cold
1w
2026-11-23
2026-11-29
3,009
Harbin
CN
-5.35
60
30.21
Extremely Cold
1w
2026-11-23
2026-11-29
3,007
Longyearbyen
SJ
-2.84
79
30.49
Extremely Cold
1w
2026-11-23
2026-11-29
4,012
Moscow
RU
-1.34
67
34.74
Extremely Cold
1w
2026-11-23
2026-11-29
4,024
Stockholm
SE
-0.44
93
32.23
Extremely Cold
1w
2026-11-23
2026-11-29
3,105
Berlin
DE
-0.33
80
34.33
Extremely Cold
1w
2026-11-23
2026-11-29
3,010
Tromso
NO
-0.28
84
33.82
Extremely Cold
1w
2026-11-23
2026-11-29
4,039
Kyiv
UA
-0.26
86
33.57
Extremely Cold
1w
2026-11-23
2026-11-29
2,005
Oku-Nikko
JP
0.56
68
37.4
Extremely Cold
1w
2026-11-23
2026-11-29
4,026
Copenhagen
DK
0.82
81
36.04
Extremely Cold
1w
2026-11-23
2026-11-29
2,002
Sugadaira
JP
0.91
80
36.32
Extremely Cold
1w
2026-11-23
2026-11-29
105
Obihiro
JP
1.74
74
38.41
Extremely Cold
1w
2026-11-23
2026-11-29
3,101
Kusatsu
JP
1.79
65
39.61
Extremely Cold
1w
2026-11-23
2026-11-29
106
Asahikawa
JP
2.21
80
38.4
Extremely Cold
1w
2026-11-23
2026-11-29
3,104
Interlaken
CH
3.06
89
38.76
Extremely Cold
1w
2026-11-23
2026-11-29
103
Wakkanai
JP
3.12
72
40.75
Extremely Cold
1w
2026-11-23
2026-11-29
104
Abashiri
JP
3.33
70
41.3
Extremely Cold
1w
2026-11-23
2026-11-29
107
Sapporo
JP
3.47
71
41.4
Extremely Cold
1w
2026-11-23
2026-11-29
4,015
Beijing
CN
3.65
32
45.84
Extremely Cold
1w
2026-11-23
2026-11-29
4,038
Pyongyang
KP
4.08
59
43.55
Extremely Cold
1w
2026-11-23
2026-11-29
101
Kushiro
JP
4.52
67
43.38
Extremely Cold
1w
2026-11-23
2026-11-29
202
Morioka
JP
4.54
87
41.45
Extremely Cold
1w
2026-11-23
2026-11-29
102
Nemuro
JP
5.13
72
43.82
Extremely Cold
1w
2026-11-23
2026-11-29
4,023
London
GB
5.21
84
42.85
Extremely Cold
1w
2026-11-23
2026-11-29
3,106
Reykjavik
IS
5.25
79
43.36
Extremely Cold
1w
2026-11-23
2026-11-29
2,001
Karuizawa
JP
5.37
61
45.17
Extremely Cold
1w
2026-11-23
2026-11-29
3,103
Ikaho
JP
5.76
62
45.63
Extremely Cold
1w
2026-11-23
2026-11-29
4,004
Seoul
KR
6.09
67
45.69
Extremely Cold
1w
2026-11-23
2026-11-29
2,101
Takayama
JP
6.19
82
44.62
Extremely Cold
1w
2026-11-23
2026-11-29
203
Akita
JP
6.51
84
44.97
Extremely Cold
1w
2026-11-23
2026-11-29
201
Aomori
JP
7.12
71
46.92
Extremely Cold
1w
2026-11-23
2026-11-29
2,003
Nasu
JP
7.12
70
46.99
Extremely Cold
1w
2026-11-23
2026-11-29
3,102
Minakami
JP
7.14
70
47.03
Extremely Cold
1w
2026-11-23
2026-11-29
2,004
Unzen
JP
7.81
68
48.16
Extremely Cold
1w
2026-11-23
2026-11-29
4,019
Ushuaia
AR
8.08
67
48.62
Extremely Cold
1w
2026-11-23
2026-11-29
4,007
Vancouver
CA
8.85
86
48.7
Extremely Cold
1w
2026-11-23
2026-11-29
4,047
Sado
JP
9.33
75
50.05
Cold
1w
2026-11-23
2026-11-29
204
Niigata
JP
9.35
72
50.24
Cold
1w
2026-11-23
2026-11-29
4,013
New York
US
9.57
71
50.62
Cold
1w
2026-11-23
2026-11-29
4,020
Tehran
IR
10.14
50
52.38
Cold
1w
2026-11-23
2026-11-29
205
Kyoto
JP
10.39
75
51.71
Cold
1w
2026-11-23
2026-11-29
207
kitaibaraki
JP
10.4
73
51.81
Cold
1w
2026-11-23
2026-11-29
4,046
Hiroshima
JP
10.73
57
52.89
Cold
1w
2026-11-23
2026-11-29
4,021
Istanbul
TR
11.45
86
53.02
Cold
1w
2026-11-23
2026-11-29
4,027
Monaco
MC
11.87
73
54.05
Cold
1w
2026-11-23
2026-11-29
206
katsuura
JP
12.66
63
55.45
Cold
1w
2026-11-23
2026-11-29
1
Tokyo
JP
12.74
59
55.62
Cold
1w
2026-11-23
2026-11-29
4,028
Rome
IT
12.92
74
55.64
Cold
1w
2026-11-23
2026-11-29
4,029
San Francisco
US
13.12
77
55.91
Cold
1w
2026-11-23
2026-11-29
3,107
Machu Picchu
PE
17.38
87
62.9
Neutral
1w
2026-11-23
2026-11-29
4,033
Christchurch
NZ
17.6
56
62.31
Neutral
1w
2026-11-23
2026-11-29
4,034
Addis Ababa
ET
17.67
54
62.34
Neutral
1w
2026-11-23
2026-11-29
4,017
New Delhi
IN
17.84
71
63.14
Neutral
1w
2026-11-23
2026-11-29
4,014
Los Angeles
US
18.26
50
62.98
Neutral
1w
2026-11-23
2026-11-29
4,010
Jimma
ET
18.68
80
64.79
Neutral
1w
2026-11-23
2026-11-29
4,022
Cairo
EG
19.11
65
64.78
Neutral
1w
2026-11-23
2026-11-29
4,036
Cape Town
ZA
19.29
67
65.14
Comfortable
1w
2026-11-23
2026-11-29
4,018
Johannesburg
ZA
19.71
77
66.27
Comfortable
1w
2026-11-23
2026-11-29
4,008
Nairobi
KE
19.86
74
66.36
Comfortable
1w
2026-11-23
2026-11-29
4,045
Naha
JP
20.03
55
65.57
Comfortable
1w
2026-11-23
2026-11-29
4,037
Macau
MO
20.44
74
67.25
Comfortable
1w
2026-11-23
2026-11-29
4,035
Kigali
RW
20.67
81
68.03
Comfortable
1w
2026-11-23
2026-11-29
4,016
Hong Kong
CN
21.18
66
67.86
Comfortable
1w
2026-11-23
2026-11-29
2
Sydney
AU
22.29
77
70.34
Slightly Uncomfortable
1w
2026-11-23
2026-11-29
4,001
Honolulu
US
22.69
71
70.48
Slightly Uncomfortable
1w
2026-11-23
2026-11-29
4,011
Buenos Aires
AR
23
54
69.5
Comfortable
1w
2026-11-23
2026-11-29
4,006
Lima
PE
25.21
79
75.14
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,005
RioDeJaneiro
BR
25.82
87
77.01
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,032
Chiang Mai
TH
26.13
70
75.56
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,009
Kumasi
GH
26.51
78
77.1
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,030
Dubai
AE
26.71
58
74.98
Slightly Uncomfortable
1w
2026-11-23
2026-11-29
4,042
Equator Zero
XX
26.78
84
78.25
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,048
Abidjan
CI
27.1
88
79.28
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,002
KualaLumpur
MY
27.82
83
79.82
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,003
Cairns
AU
28.24
68
78.45
Half Feel Uncomfortable
1w
2026-11-23
2026-11-29
4,043
Date Line
XX
28.57
77
80.2
Everyone Feels Uncomfortable
1w
2026-11-23
2026-11-29
4,049
Accra
GH
29.05
76
80.83
Everyone Feels Uncomfortable
1w
2026-11-16
2026-11-22
3,008
Ulaanbaatar
MN
-11.58
76
17.34
Extremely Cold
1w
2026-11-16
2026-11-22
3,003
Norilsk
RU
-10.29
94
14.94
Extremely Cold
1w
2026-11-16
2026-11-22
4,031
McMurdo
AQ
-8.52
77
21.9
Extremely Cold
1w
2026-11-16
2026-11-22
4,025
Kiruna
SE
-7.69
91
20.13
Extremely Cold
1w
2026-11-16
2026-11-22
3,005
Yellowknife
CA
-7.52
95
19.55
Extremely Cold
1w
2026-11-16
2026-11-22
3,009
Harbin
CN
-7.21
55
28.67
Extremely Cold
1w
2026-11-16
2026-11-22
3,004
Utqiagvik
US
-6.15
91
22.76
Extremely Cold
1w
2026-11-16
2026-11-22
3,007
Longyearbyen
SJ
-5.92
73
26.78
Extremely Cold
1w
2026-11-16
2026-11-22
3,006
Nuuk
GL
-3.99
74
29.56
Extremely Cold
1w
2026-11-16
2026-11-22
4,038
Pyongyang
KP
-1.3
31
40.41
Extremely Cold
1w
2026-11-16
2026-11-22
3,010
Tromso
NO
-1.01
89
31.86
Extremely Cold
1w
2026-11-16
2026-11-22
106
Asahikawa
JP
0.31
83
34.93
Extremely Cold
1w
2026-11-16
2026-11-22
3,106
Reykjavik
IS
0.37
67
37.27
Extremely Cold
1w
2026-11-16
2026-11-22
2,005
Oku-Nikko
JP
0.81
73
37.11
Extremely Cold
1w
2026-11-16
2026-11-22
4,024
Stockholm
SE
2.02
94
36.38
Extremely Cold
1w
2026-11-16
2026-11-22
103
Wakkanai
JP
2.07
69
39.52
Extremely Cold
1w
End of preview.

Weather2 Dataset Global weather and climate datasets generated by the Weather2 project.

largest_temp_range_top10.csv contains the top 10 cities with the largest historical temperature range observed in the Weather2 database, including maximum temperature, minimum temperature, and occurrence dates.

Included datasets:

city-list.csv all_weekly_average_temp_humidity_di.csv all_weekly_comfortable_region.csv largest_temp_range_top10.csv This repository contains weather datasets, climate datasets, temperature statistics, humidity statistics, discomfort index (DI), WBGT, heat index, global city information, and historical weather records.

Source: https://yahikoyama.github.io/weather2/

GitHub: https://github.com/yahikoyama/weather2

Weather2 Data

Global weather and city dataset used by the Weather2 project.

Weather2 Dataset

Global weather and comfort-index datasets.

Included datasets:

  • city-list.csv
  • all_weekly_average_temp_humidity_di.csv
  • all_weekly_comfortable_region.csv
  • largest_temp_range_top10.csv

Description

This dataset contains worldwide city information used by Weather2.

Included information:

  • City names
  • Country information
  • Latitude and longitude
  • Multi-language city names

The dataset also includes remote locations such as:

  • North Pole
  • South Pole (Antarctica)
  • Greenland locations

Related Project

Weather2

GitHub Repository: https://github.com/yahikoyama/weather2

Weather2 Website: https://yahikoyama.github.io/weather2/

Current Report: https://yahikoyama.github.io/weather2/weather_report_now_en.html

License

CC BY-NC 4.0

Downloads last month
68