Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
datetime
timestamp[us]date
2004-01-04 00:00:00
2005-12-03 23:00:00
Date
timestamp[us]date
2004-03-10 00:00:00
2005-04-04 00:00:00
Time
unknown
CO_GT
float64
0.1
11.9
PT08_S1_CO
float64
647
2.04k
NMHC_GT
int64
7
1.19k
C6H6_GT
float64
0.15
63.7
PT08_S2_NMHC
float64
383
2.21k
NOx_GT
float64
2
1.48k
PT08_S3_NOx
float64
322
2.68k
NO2_GT
float64
2
340
PT08_S4_NO2
float64
551
2.78k
PT08_S5_O3
float64
221
2.52k
T
float64
-1.9
44.6
RH
float64
9.18
88.7
AH
float64
0.18
2.23
2004-10-03T18:00:00
2004-03-10T00:00:00
"18:00:00"
2.6
1,360
150
11.881723
1,045.5
166
1,056.25
113
1,692
1,267.5
13.6
48.875001
0.757754
2004-10-03T19:00:00
2004-03-10T00:00:00
"19:00:00"
2
1,292.25
112
9.397165
954.75
103
1,173.75
92
1,558.75
972.25
13.3
47.7
0.725487
2004-10-03T20:00:00
2004-03-10T00:00:00
"20:00:00"
2.2
1,402
88
8.997817
939.25
131
1,140
114
1,554.5
1,074
11.9
53.975
0.750239
2004-10-03T21:00:00
2004-03-10T00:00:00
"21:00:00"
2.2
1,375.5
80
9.228796
948.25
172
1,092
122
1,583.75
1,203.25
11
60
0.786713
2004-10-03T22:00:00
2004-03-10T00:00:00
"22:00:00"
1.6
1,272.25
51
6.518224
835.5
131
1,205
116
1,490
1,110
11.15
59.575001
0.788794
2004-10-03T23:00:00
2004-03-10T00:00:00
"23:00:00"
1.2
1,197
38
4.741012
750.25
89
1,336.5
96
1,393
949.25
11.175
59.175
0.784772
2004-11-03T00:00:00
2004-03-11T00:00:00
"00:00:00"
1.2
1,185
31
3.624399
689.5
62
1,461.75
77
1,332.75
732.5
11.325
56.775
0.760312
2004-11-03T01:00:00
2004-03-11T00:00:00
"01:00:00"
1
1,136.25
31
3.326677
672
62
1,453.25
76
1,332.75
729.5
10.675
60
0.770238
2004-11-03T02:00:00
2004-03-11T00:00:00
"02:00:00"
0.9
1,094
24
2.339416
608.5
45
1,579
60
1,276
619.5
10.65
59.674999
0.764819
2004-11-03T03:00:00
2004-03-11T00:00:00
"03:00:00"
0.6
1,009.75
19
1.696658
560.75
null
1,705
null
1,234.75
501.25
10.25
60.200001
0.751657
2004-11-03T04:00:00
2004-03-11T00:00:00
"04:00:00"
null
1,011
14
1.29362
526.75
21
1,817.5
34
1,196.75
445.25
10.075
60.474999
0.746495
2004-11-03T05:00:00
2004-03-11T00:00:00
"05:00:00"
0.7
1,066
8
1.133431
512
16
1,918
28
1,182
421.75
11
56.175
0.73656
2004-11-03T06:00:00
2004-03-11T00:00:00
"06:00:00"
0.7
1,051.75
16
1.603768
553.25
34
1,738.25
48
1,221.25
471.5
10.45
58.125
0.735295
2004-11-03T07:00:00
2004-03-11T00:00:00
"07:00:00"
1.1
1,144
29
3.243618
667
98
1,489.75
82
1,339
729.75
10.2
59.599999
0.741736
2004-11-03T08:00:00
2004-03-11T00:00:00
"08:00:00"
2
1,333.25
64
8.013773
899.75
174
1,136
112
1,517
1,101.5
10.75
57.425
0.740795
2004-11-03T09:00:00
2004-03-11T00:00:00
"09:00:00"
2.2
1,351
87
9.540643
960.25
129
1,079
101
1,582.75
1,027.75
10.5
60.599998
0.769111
2004-11-03T10:00:00
2004-03-11T00:00:00
"10:00:00"
1.7
1,233.25
77
6.335782
827.25
112
1,218
98
1,445.75
859.75
10.8
58.35
0.755183
2004-11-03T11:00:00
2004-03-11T00:00:00
"11:00:00"
1.5
1,178.75
43
4.971584
762
95
1,327.5
92
1,361.75
670.5
10.5
57.925
0.735161
2004-11-03T12:00:00
2004-03-11T00:00:00
"12:00:00"
1.6
1,236
61
5.216919
774.25
104
1,301.25
95
1,401.25
664
9.525
66.774999
0.795054
2004-11-03T13:00:00
2004-03-11T00:00:00
"13:00:00"
1.9
1,285.5
63
7.269933
868.5
146
1,162.25
112
1,536.75
799
8.3
76.425001
0.839268
2004-11-03T14:00:00
2004-03-11T00:00:00
"14:00:00"
2.9
1,371
164
11.539007
1,033.5
207
983.25
128
1,730.25
1,036.5
8
81.15
0.873589
2004-11-03T15:00:00
2004-03-11T00:00:00
"15:00:00"
2.2
1,310
79
8.826223
932.5
184
1,081.75
126
1,646.5
946.25
8.325
79.799999
0.877784
2004-11-03T16:00:00
2004-03-11T00:00:00
"16:00:00"
2.2
1,291.75
95
8.301413
911.5
193
1,102.5
131
1,590.75
956.75
9.7
71.150002
0.856938
2004-11-03T17:00:00
2004-03-11T00:00:00
"17:00:00"
2.9
1,383
150
11.151581
1,019.75
243
1,008
135
1,718.75
1,104
9.775
67.624998
0.818501
2004-11-03T18:00:00
2004-03-11T00:00:00
"18:00:00"
4.8
1,580.75
307
20.799217
1,318.5
281
798.5
151
2,083
1,408.5
10.35
64.174999
0.806544
2004-11-03T19:00:00
2004-03-11T00:00:00
"19:00:00"
6.9
1,775.5
461
27.359807
1,487.75
383
702.25
172
2,332.5
1,704
9.65
69.300001
0.831921
2004-11-03T20:00:00
2004-03-11T00:00:00
"20:00:00"
6.1
1,640
401
24.017757
1,404
351
742.75
165
2,191.25
1,653.75
9.65
67.75
0.813314
2004-11-03T21:00:00
2004-03-11T00:00:00
"21:00:00"
3.9
1,312.75
197
12.779368
1,076.25
240
957.25
136
1,706.5
1,284.75
9.125
63.974999
0.741924
2004-11-03T22:00:00
2004-03-11T00:00:00
"22:00:00"
1.5
964.5
61
4.707072
748.5
94
1,325.25
85
1,332.5
821
8.175
63.4
0.690484
2004-11-03T23:00:00
2004-03-11T00:00:00
"23:00:00"
1
912.75
26
2.645722
629.25
47
1,564.5
53
1,252.25
551.75
8.25
60.824999
0.665744
2004-12-03T00:00:00
2004-03-12T00:00:00
"00:00:00"
1.7
1,080.25
55
5.854802
805
122
1,253.5
97
1,375
815.5
8.325
58.525001
0.643764
2004-12-03T01:00:00
2004-03-12T00:00:00
"01:00:00"
1.9
1,043.75
53
6.374298
829
133
1,247.25
110
1,378.25
831.5
7.725
59.674999
0.630766
2004-12-03T02:00:00
2004-03-12T00:00:00
"02:00:00"
1.4
987.75
40
4.132342
718
82
1,395.5
91
1,303.5
691.5
7.125
61.799999
0.627597
2004-12-03T03:00:00
2004-03-12T00:00:00
"03:00:00"
0.8
888.75
21
1.869445
574.25
null
1,680.25
null
1,187
512
6.975
62.275
0.626108
2004-12-03T04:00:00
2004-03-12T00:00:00
"04:00:00"
null
831
10
1.068293
505.75
21
1,892.75
32
1,133.75
384
6.1
65.900002
0.624754
2004-12-03T05:00:00
2004-03-12T00:00:00
"05:00:00"
0.6
847.25
7
1.022415
501.25
30
1,894.5
44
1,154.75
394
6.275
64.975
0.623282
2004-12-03T06:00:00
2004-03-12T00:00:00
"06:00:00"
0.8
927
17
1.830431
571.25
56
1,684.75
71
1,222.75
486.5
6.75
62.95
0.623428
2004-12-03T07:00:00
2004-03-12T00:00:00
"07:00:00"
1.4
1,090.5
33
4.359341
730.25
109
1,387
104
1,360.75
748.25
6.45
65.075002
0.631628
2004-12-03T08:00:00
2004-03-12T00:00:00
"08:00:00"
4.4
1,587
202
17.865587
1,235.5
307
896.5
141
1,900.25
1,400.25
7.325
63.15
0.649933
2004-12-03T09:00:00
2004-03-12T00:00:00
"09:00:00"
null
1,544.5
null
22.074162
1,353
null
767.25
null
2,058
1,587.75
9.225
56.199999
0.656065
2004-12-03T10:00:00
2004-03-12T00:00:00
"10:00:00"
3.1
1,350.25
208
14.027011
1,117.5
187
912
122
1,711.75
1,237
13.225
41.749999
0.63195
2004-12-03T11:00:00
2004-03-12T00:00:00
"11:00:00"
2.7
1,262.75
166
11.645647
1,037.25
216
969
143
1,598.25
1,166.5
14.325
38.45
0.624304
2004-12-03T12:00:00
2004-03-12T00:00:00
"12:00:00"
2.1
1,206.25
114
10.224662
986
143
1,034.5
113
1,537
959
15.025
36.5
0.619532
2004-12-03T13:00:00
2004-03-12T00:00:00
"13:00:00"
2.5
1,251.5
140
11.039936
1,015.75
160
1,007.5
116
1,592.75
983
16.1
34.474999
0.626165
2004-12-03T14:00:00
2004-03-12T00:00:00
"14:00:00"
2.7
1,287
169
12.816446
1,077.5
163
948.75
123
1,660.25
1,060.75
16.275001
35.725
0.656031
2004-12-03T15:00:00
2004-03-12T00:00:00
"15:00:00"
2.9
1,352.75
185
14.173851
1,122.25
190
921.75
126
1,740
1,139.25
15.825
37.025
0.660961
2004-12-03T16:00:00
2004-03-12T00:00:00
"16:00:00"
2.8
1,309
165
12.690568
1,073.25
178
954
120
1,657.25
1,112.25
15.875
37.175
0.665729
2004-12-03T17:00:00
2004-03-12T00:00:00
"17:00:00"
2.4
1,274
133
11.738405
1,040.5
150
1,005.75
119
1,609.75
993.75
16.875
34.349999
0.654909
2004-12-03T18:00:00
2004-03-12T00:00:00
"18:00:00"
3.9
1,509.5
233
19.290975
1,276.5
206
812.25
149
1,909.75
1,409.5
15.15
39.55
0.676627
2004-12-03T19:00:00
2004-03-12T00:00:00
"19:00:00"
3.7
1,525.25
242
18.226178
1,246
202
821
145
1,846.75
1,447.75
14.4
43.425
0.70845
2004-12-03T20:00:00
2004-03-12T00:00:00
"20:00:00"
6.6
1,843
488
32.556278
1,609.75
340
624
170
2,390.25
1,886.5
12.875
50.525001
0.747803
2004-12-03T21:00:00
2004-03-12T00:00:00
"21:00:00"
4.4
1,597.75
333
20.092944
1,299
274
752
149
1,940.5
1,626.75
12.15
53.349999
0.75362
2004-12-03T22:00:00
2004-03-12T00:00:00
"22:00:00"
3.5
1,483.5
215
14.321342
1,127
253
839
139
1,723
1,491
10.975
59.125001
0.77398
2004-12-03T23:00:00
2004-03-12T00:00:00
"23:00:00"
5.4
1,677.25
367
21.812865
1,346
300
740.5
134
2,062
1,657
9.675
64.624999
0.777074
null
2004-03-13T00:00:00
"00:00:00"
2.7
1,279.5
122
9.639
964
193
962.5
113
1,543.5
1,285.25
9.45
64.125
0.759747
null
2004-03-13T00:00:00
"01:00:00"
1.9
1,196.25
67
7.375139
873
139
1,071.25
97
1,463.25
1,144.25
9.15
63.900002
0.742276
null
2004-03-13T00:00:00
"02:00:00"
1.6
1,183.75
43
5.369604
781.75
83
1,176.25
82
1,364.5
1,042.75
8.8
63.924998
0.725615
null
2004-03-13T00:00:00
"03:00:00"
1.7
1,171.75
46
5.390104
782.75
null
1,178.5
null
1,379.75
995.5
7.8
67.525
0.717312
null
2004-03-13T00:00:00
"04:00:00"
null
1,147
56
6.199042
821
109
1,132.25
83
1,411.75
991.5
7
71.075001
0.715778
null
2004-03-13T00:00:00
"05:00:00"
1
978.25
30
2.577932
624.75
62
1,420.25
65
1,274.25
819.25
8.3
63.575
0.698155
null
2004-03-13T00:00:00
"06:00:00"
1.2
1,099.5
27
2.908548
646.25
53
1,406.25
60
1,267.5
835
7.2
67.475
0.688672
null
2004-03-13T00:00:00
"07:00:00"
1.5
1,112.25
47
5.136256
770.25
139
1,228
77
1,408.5
939.75
6.35
71.9
0.693199
null
2004-03-13T00:00:00
"08:00:00"
2.7
1,335.5
132
11.817139
1,043.25
256
935.25
96
1,678
1,191.75
6.45
71.550001
0.694475
null
2004-03-13T00:00:00
"09:00:00"
3.7
1,408.333333
239
15.140161
1,153
295
830.333333
119
1,776.666667
1,411
9.566667
59.666668
0.712367
null
2004-03-13T00:00:00
"10:00:00"
3.2
1,447
160
12.913063
1,080.75
250
868.5
126
1,666.75
1,465
12.375
51.175
0.733458
null
2004-03-13T00:00:00
"11:00:00"
4.1
1,541.5
283
16.133509
1,183.75
296
808.25
158
1,779.75
1,582.5
15.65
42.2
0.745094
null
2004-03-13T00:00:00
"12:00:00"
3.6
1,451.25
210
14.019301
1,117.25
239
875.25
161
1,679.25
1,387.25
18.4
33.825
0.708964
null
2004-03-13T00:00:00
"13:00:00"
2.8
1,328.25
154
12.279664
1,059.25
153
986.5
124
1,599.5
1,100.5
19.35
31.275
0.695008
null
2004-03-13T00:00:00
"14:00:00"
2
1,206.5
112
8.618413
924.25
118
1,087.75
102
1,488.25
849.75
18.025
34.8
0.712674
null
2004-03-13T00:00:00
"15:00:00"
2
1,239.5
108
9.196567
947
119
1,049
116
1,531.75
947
18.375
33.65
0.704207
null
2004-03-13T00:00:00
"16:00:00"
2.5
1,306
111
10.244887
986.75
138
1,004
124
1,554
1,078
17.625
35.1
0.701203
null
2004-03-13T00:00:00
"17:00:00"
2.3
1,326
97
10.611844
1,000.25
148
975.5
125
1,601.5
1,083.75
16.675
37.799999
0.711736
null
2004-03-13T00:00:00
"18:00:00"
3.2
1,472.75
191
15.45221
1,162.75
227
830.5
148
1,779
1,394.75
16.1
41.025
0.745131
null
2004-03-13T00:00:00
"19:00:00"
4.2
1,609
258
19.636785
1,286.25
277
757.5
165
1,922
1,611.5
15.825
42.400001
0.756914
null
2004-03-13T00:00:00
"20:00:00"
4.2
1,610.75
284
19.202728
1,274
279
754.25
161
1,915
1,697.25
15.65
44.1
0.778641
null
2004-03-13T00:00:00
"21:00:00"
4.2
1,620.5
269
18.26931
1,247.25
283
762
159
1,860
1,885.5
15.325
46.775001
0.809124
null
2004-03-13T00:00:00
"22:00:00"
3.1
1,444.25
180
13.144704
1,088.5
214
844
143
1,747.5
1,623.75
14.65
48.625
0.805969
null
2004-03-13T00:00:00
"23:00:00"
2.6
1,418
116
10.873367
1,009.75
172
892
130
1,603
1,536.25
14.7
49.275001
0.819336
null
2004-03-14T00:00:00
"00:00:00"
2.9
1,533.5
93
10.963458
1,013
190
888.5
129
1,610.75
1,534.75
13.95
53.6
0.849772
null
2004-03-14T00:00:00
"01:00:00"
2.8
1,483.5
131
11.860179
1,044.75
174
879.75
119
1,624.25
1,529.75
14.65
51.5
0.853623
null
2004-03-14T00:00:00
"02:00:00"
2.5
1,366.75
92
8.624679
924.5
128
952.5
104
1,543
1,337
12.55
58.900001
0.85374
null
2004-03-14T00:00:00
"03:00:00"
2.4
1,344
132
9.737786
967.75
null
920.5
null
1,619.75
1,278.25
11.65
63.425
0.867449
null
2004-03-14T00:00:00
"04:00:00"
null
1,129.5
56
5.191654
773
70
1,130.25
82
1,451.75
1,050.5
12.1
61.100001
0.860316
null
2004-03-14T00:00:00
"05:00:00"
1.2
1,062
32
3.650423
691
53
1,271.5
70
1,376.75
929
11.475
63.1
0.853275
null
2004-03-14T00:00:00
"06:00:00"
1
1,075.75
29
2.481342
618.25
44
1,395.25
63
1,333
872.25
11.6
62.150001
0.847264
null
2004-03-14T00:00:00
"07:00:00"
0.9
1,028.25
27
2.429984
614.75
74
1,383.5
67
1,340
853
10.4
67.649999
0.852999
null
2004-03-14T00:00:00
"08:00:00"
1.4
1,154.5
36
4.21051
722.25
101
1,224.75
84
1,413.75
959.25
11.575
62.674999
0.853038
null
2004-03-14T00:00:00
"09:00:00"
1.6
1,235.25
57
6.352277
828
118
1,055.25
83
1,527
1,093.25
12.425
60
0.862715
null
2004-03-14T00:00:00
"10:00:00"
2.2
1,331.5
129
8.58711
923
144
951.75
98
1,613.75
1,225
14.525
53.075
0.872782
null
2004-03-14T00:00:00
"11:00:00"
2.8
1,444.75
148
10.859535
1,009.25
176
878.25
114
1,696
1,355.25
16.875
46.099999
0.878931
null
2004-03-14T00:00:00
"12:00:00"
2.8
1,415.5
145
10.659816
1,002
161
906.75
119
1,676.5
1,261.5
19.3
38.25
0.847405
null
2004-03-14T00:00:00
"13:00:00"
2
1,281.25
93
7.540072
880
113
1,083.75
104
1,525
980
21.175
31.45
0.781196
null
2004-03-14T00:00:00
"14:00:00"
1.8
1,207.25
84
7.504599
878.5
103
1,103.5
102
1,489.5
872.25
21.425
30.2
0.761592
null
2004-03-14T00:00:00
"15:00:00"
1.9
1,257.75
99
8.160113
905.75
112
1,081.25
107
1,511
900.25
21.925
28.95
0.752459
null
2004-03-14T00:00:00
"16:00:00"
3
1,457.75
150
11.867358
1,045
170
973.75
129
1,646
1,098.5
22.225
28.4
0.751627
null
2004-03-14T00:00:00
"17:00:00"
2.9
1,437.75
156
12.033005
1,050.75
180
942.5
128
1,667.5
1,206.25
21.3
30.75
0.769615
null
2004-03-14T00:00:00
"18:00:00"
2.5
1,477.75
122
12.163323
1,055.25
160
929.25
121
1,670.75
1,262.25
19.65
36.7
0.830706
null
2004-03-14T00:00:00
"19:00:00"
4.6
1,807.5
262
20.571715
1,312.25
261
753.25
157
1,992.75
1,697.75
18.375
41.725
0.873196
null
2004-03-14T00:00:00
"20:00:00"
5.9
1,898
341
23.142126
1,381.25
325
680.5
173
2,102.75
1,904.75
17.625
46.099999
0.920954
null
2004-03-14T00:00:00
"21:00:00"
3.4
1,559.5
214
14.720453
1,139.75
217
783.75
146
1,817.5
1,648
16.65
49.575001
0.93199
End of preview. Expand in Data Studio

----------------------------------------------------------------------------------------------------------------------------------------------------

Air quality monitoring  |  Time-series forecasting  |  Smart city research  |  Gas sensor analysis

----------------------------------------------------------------------------------------------------------------------------------------------------

1. Project Introduction

This repository provides a Hugging Face friendly version of the Air Quality Italian City Dataset from the UCI Machine Learning Repository.

The dataset contains hourly air-quality measurements from a gas multisensor device deployed in a polluted urban area in an Italian city. It includes chemical sensor responses, reference analyzer measurements, temperature, relative humidity, and absolute humidity.

This dataset is useful for building projects related to:

  • air quality prediction
  • smart city monitoring
  • pollution forecasting
  • sensor drift analysis
  • environmental digital twins
  • LLM-assisted environmental data explanation

2. Dataset Summary

Item Description
Dataset type multivariate time-series
Task regression
Records 9,358 hourly samples
Features 15 variables
Time period March 2004 to February 2005
Missing values tagged as -200 in the original file
Source UCI Machine Learning Repository

3. Repository Structure

Air-Quality-Italian-City/
├── README.md
├── data/
│   └── AirQualityUCI.xlsx
└── processed/
    └── air_quality.parquet
  • data/ contains the original Excel file.
  • processed/ contains the cleaned Parquet file for the Hugging Face Dataset Viewer.
  • missing values marked as -200 are converted to null values in the processed file.

4. Main Use Cases

Use case Description
Air quality forecasting predict future pollution levels using historical sensor data
Regression modeling estimate pollutant concentrations such as CO, NOx, NO2, or benzene
Sensor analysis study chemical sensor behavior, drift, and cross-sensitivity
Smart city research build pollution monitoring and environmental intelligence systems
Digital twin project create a city air-quality digital twin for monitoring and explanation

5. Column Dictionary

Column Description
Date date of measurement
Time time of measurement
CO_GT true CO concentration
PT08_S1_CO CO-targeted sensor response
NMHC_GT true non-methanic hydrocarbons concentration
C6H6_GT true benzene concentration
PT08_S2_NMHC NMHC-targeted sensor response
NOx_GT true NOx concentration
Column Description
PT08_S3_NOx NOx-targeted sensor response
NO2_GT true NO2 concentration
PT08_S4_NO2 NO2-targeted sensor response
PT08_S5_O3 O3-targeted sensor response
T temperature
RH relative humidity
AH absolute humidity
datetime combined date and time column

6. Loading the Dataset

from datasets import load_dataset

dataset = load_dataset("SoyVitou/Air-Quality-Italian-City")

print(dataset)
print(dataset["train"][0])

7. Example Project: Air Quality Digital Twin

This dataset can be used to create a smart city air-quality digital twin.

sensor data
    ↓
pollution forecasting model
    ↓
city air-quality digital twin
    ↓
LLM explanation assistant
    ↓
environmental recommendation

Example question:

why did NO2 increase during this time period?

Example answer:

NO2 increased because the reference analyzer value rose together with related sensor responses. Temperature and humidity may also affect sensor behavior, so these variables should be considered during analysis.

8. Suggested Machine Learning Tasks

Task Target
pollution regression predict CO, NOx, NO2, or C6H6
time-series forecasting forecast future air-quality values
anomaly detection detect unusual pollution or sensor readings
missing value handling improve data quality and imputation
digital twin monitoring track city air-quality state over time

9. Original Source

This dataset is derived from the UCI Machine Learning Repository:

10. Citation

If you use this dataset, please cite the original UCI dataset:

Vito, S. (2008). Air Quality [Dataset].
UCI Machine Learning Repository.
https://doi.org/10.24432/C59K5F

11. Note

This repository keeps the original .xlsx file and provides a processed .parquet version to make the dataset easier to preview and use in Hugging Face workflows.

Downloads last month
72