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 27 new columns ({'Owner/Operator', 'Primary Rep Info', 'NERC Region', 'County', 'Longitude', 'Latitude', 'Associated Generators & Nameplate Capacity (MWe)', 'Year', 'Source Category', 'Primary Fuel Type', 'SO2 Controls', 'Max Hourly HI Rate (mmBtu/hr)', 'EPA Region', 'FIPS Code', 'Program Code', 'Unit Type', 'NOx Controls', 'Operating Status', 'SO2 Phase', 'Secondary Fuel Type', 'Associated Stacks', 'Unit ID', 'County Code', 'Commercial Operation Date', 'PM Controls', 'NOx Phase', 'Hg Controls'}) and 7 missing columns ({'Gross Load (MWh)', 'Steam Load (1000 lb)', 'Date', 'NOx Mass (short tons)', 'Heat Input (mmBtu)', 'SO2 Mass (short tons)', 'CO2 Mass (short tons)'}).

This happened while the csv dataset builder was generating data using

hf://datasets/AndreCNF/us-coal-power-emissions-sentinel2/facility_attributes.csv (at revision 3568b4a2ab733d7c9a04561f046d8f6ca1b06576)

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
              State: string
              Facility Name: string
              Facility ID: int64
              Unit ID: string
              Associated Stacks: string
              Year: int64
              Program Code: string
              Primary Rep Info: string
              EPA Region: int64
              NERC Region: string
              County: string
              County Code: string
              FIPS Code: int64
              Source Category: string
              Latitude: double
              Longitude: double
              Owner/Operator: string
              SO2 Phase: string
              NOx Phase: string
              Unit Type: string
              Primary Fuel Type: string
              Secondary Fuel Type: string
              SO2 Controls: string
              NOx Controls: string
              PM Controls: string
              Hg Controls: string
              Commercial Operation Date: string
              Operating Status: string
              Max Hourly HI Rate (mmBtu/hr): double
              Associated Generators & Nameplate Capacity (MWe): string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 4063
              to
              {'State': Value(dtype='string', id=None), 'Facility Name': Value(dtype='string', id=None), 'Facility ID': Value(dtype='int64', id=None), 'Date': Value(dtype='string', id=None), 'Gross Load (MWh)': Value(dtype='float64', id=None), 'Steam Load (1000 lb)': Value(dtype='float64', id=None), 'SO2 Mass (short tons)': Value(dtype='float64', id=None), 'CO2 Mass (short tons)': Value(dtype='float64', id=None), 'NOx Mass (short tons)': Value(dtype='float64', id=None), 'Heat Input (mmBtu)': Value(dtype='float64', 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 1316, in compute_config_parquet_and_info_response
                  parquet_operations, partial = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 909, in stream_convert_to_parquet
                  builder._prepare_split(
                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 27 new columns ({'Owner/Operator', 'Primary Rep Info', 'NERC Region', 'County', 'Longitude', 'Latitude', 'Associated Generators & Nameplate Capacity (MWe)', 'Year', 'Source Category', 'Primary Fuel Type', 'SO2 Controls', 'Max Hourly HI Rate (mmBtu/hr)', 'EPA Region', 'FIPS Code', 'Program Code', 'Unit Type', 'NOx Controls', 'Operating Status', 'SO2 Phase', 'Secondary Fuel Type', 'Associated Stacks', 'Unit ID', 'County Code', 'Commercial Operation Date', 'PM Controls', 'NOx Phase', 'Hg Controls'}) and 7 missing columns ({'Gross Load (MWh)', 'Steam Load (1000 lb)', 'Date', 'NOx Mass (short tons)', 'Heat Input (mmBtu)', 'SO2 Mass (short tons)', 'CO2 Mass (short tons)'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/AndreCNF/us-coal-power-emissions-sentinel2/facility_attributes.csv (at revision 3568b4a2ab733d7c9a04561f046d8f6ca1b06576)
              
              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.

State
string
Facility Name
string
Facility ID
int64
Date
string
Gross Load (MWh)
float64
Steam Load (1000 lb)
null
SO2 Mass (short tons)
float64
CO2 Mass (short tons)
float64
NOx Mass (short tons)
float64
Heat Input (mmBtu)
float64
AL
Barry
3
2019-01-01
15,713
null
20.434
16,705.8
9.099
162,826
AL
Barry
3
2019-01-02
15,925
null
20.583
16,516.1
9.004
160,977.1
AL
Barry
3
2019-01-03
18,362
null
28.81
18,393.5
11.637
179,275.8
AL
Barry
3
2019-01-04
17,106
null
23.531
17,359.5
12.813
169,199.1
AL
Barry
3
2019-01-05
13,304
null
7.511
13,782.2
6.858
134,330.25
AL
Barry
3
2019-01-06
11,950
null
1.073
12,573.2
3.812
122,544.2
AL
Barry
3
2019-01-07
12,216
null
1.041
12,533
3.772
122,154.9
AL
Barry
3
2019-01-08
12,869
null
1.08
13,110
3.873
127,778.8
AL
Barry
3
2019-01-09
14,417
null
1.238
14,700.6
4.243
143,279.8
AL
Barry
3
2019-01-10
13,721
null
1.192
14,014
5.592
136,588.7
AL
Barry
3
2019-01-11
14,626
null
1.221
14,754.7
4.28
143,807.7
AL
Barry
3
2019-01-12
12,439
null
1.028
12,668.3
3.761
123,474
AL
Barry
3
2019-01-13
12,109
null
1.026
12,424.7
3.76
121,098.8
AL
Barry
3
2019-01-14
14,306
null
1.207
14,343.5
4.239
139,801.1
AL
Barry
3
2019-01-15
15,244
null
1.329
15,397.6
4.432
150,075.3
AL
Barry
3
2019-01-16
14,395
null
1.296
14,702.3
4.246
143,301.2
AL
Barry
3
2019-01-17
13,677
null
1.299
13,915.2
4.182
135,624.3
AL
Barry
3
2019-01-18
13,412
null
1.234
13,557.3
4.074
132,137.2
AL
Barry
3
2019-01-19
12,993
null
1.189
13,112.1
4.014
127,799.6
AL
Barry
3
2019-01-20
16,749
null
1.196
16,255.9
4.6
158,439.4
AL
Barry
3
2019-01-21
6,286.5
null
0.461
6,443.575
3.379
62,804.125
AL
Barry
3
2019-01-22
9,751.75
null
0.93
10,283.375
5.395
100,225.9
AL
Barry
3
2019-01-23
12,934
null
1.184
12,929.5
4.001
126,016.1
AL
Barry
3
2019-01-24
13,847
null
1.416
14,003.8
4.12
136,488.4
AL
Barry
3
2019-01-25
13,445
null
1.348
13,754.2
4.027
134,054.9
AL
Barry
3
2019-01-26
13,173
null
1.227
13,444.4
4.169
131,039.3
AL
Barry
3
2019-01-27
13,188
null
1.253
13,468.7
4.19
131,272.8
AL
Barry
3
2019-01-28
13,099
null
1.289
13,390.4
4.191
130,512.8
AL
Barry
3
2019-01-29
16,877
null
15.69
17,185.6
9.361
167,499.4
AL
Barry
3
2019-01-30
17,289
null
25.531
18,194.8
10.482
177,337.4
AL
Barry
3
2019-01-31
16,457
null
23.792
17,570.3
9.111
171,248
AL
Barry
3
2019-02-01
16,971
null
27.854
18,019.2
10.964
175,629.9
AL
Barry
3
2019-02-02
16,482.75
null
21.89
16,982.65
8.42
165,520.7
AL
Barry
3
2019-02-03
12,241
null
0.993
12,593.1
4.225
122,739.2
AL
Barry
3
2019-02-04
12,025
null
1.195
12,395.8
4.199
120,818.1
AL
Barry
3
2019-02-05
12,006
null
1.151
12,486
4.156
121,694.3
AL
Barry
3
2019-02-06
12,889
null
1.198
13,219.6
7.256
128,846.6
AL
Barry
3
2019-02-07
13,542
null
1.248
13,817.6
4.519
134,676.2
AL
Barry
3
2019-02-08
11,730
null
1.028
11,691.7
4.29
113,954
AL
Barry
3
2019-02-09
12,371
null
1.098
12,566.7
3.996
122,483.9
AL
Barry
3
2019-02-10
12,566
null
1.412
13,031.7
4.177
127,013.9
AL
Barry
3
2019-02-11
12,568
null
1.393
12,512.2
4.182
121,952.1
AL
Barry
3
2019-02-12
13,452
null
1.624
13,697.8
4.61
133,507.2
AL
Barry
3
2019-02-13
12,894
null
1.529
13,281.8
4.261
129,452.1
AL
Barry
3
2019-02-14
13,602
null
1.569
13,863.1
4.384
135,117.7
AL
Barry
3
2019-02-15
12,529
null
1.41
12,863.1
4.194
125,372.5
AL
Barry
3
2019-02-16
12,161
null
1.326
12,547.3
4.184
122,295.1
AL
Barry
3
2019-02-17
12,472
null
1.317
12,869
4.275
125,429.7
AL
Barry
3
2019-02-18
12,784
null
1.456
13,309.4
4.25
129,721.1
AL
Barry
3
2019-02-19
14,246
null
10.086
14,580.2
6.308
142,108.6
AL
Barry
3
2019-02-20
16,451
null
27.796
16,659.3
8.816
162,368.2
AL
Barry
3
2019-02-21
16,099
null
35.108
16,269
10.675
158,566.1
AL
Barry
3
2019-02-22
4,752
null
34.232
5,102.875
6.549
49,734.775
AL
Barry
3
2019-02-23
4,602
null
33.75
4,859.9
5.624
47,367
AL
Barry
3
2019-02-24
4,800
null
35.877
5,199.1
6.234
50,674.1
AL
Barry
3
2019-02-25
4,691
null
34.192
5,001.2
6.54
48,744.3
AL
Barry
3
2019-02-26
5,744
null
39.737
6,016.7
6.977
58,640.9
AL
Barry
3
2019-02-27
3,305
null
24.686
3,650.9
4.181
35,583.4
AL
Barry
3
2019-02-28
3,247
null
24.638
3,629.5
3.797
35,374.1
AL
Barry
3
2019-03-01
3,462
null
26.258
3,766.8
5.03
36,714
AL
Barry
3
2019-03-02
4,190
null
29.938
4,607.4
6.261
44,907.8
AL
Barry
3
2019-03-03
4,195
null
29.322
4,547.8
6.527
44,325.5
AL
Barry
3
2019-03-04
4,361
null
32.267
4,871.8
7.557
47,484.9
AL
Barry
3
2019-03-05
1,718
null
12.676
1,898.3
3.131
18,501.35
AL
Barry
3
2019-03-06
null
null
null
null
null
null
AL
Barry
3
2019-03-07
446.5
null
2.285
573.55
0.688
5,589.5
AL
Barry
3
2019-03-08
3,176
null
19.008
3,381.3
4.177
32,956.6
AL
Barry
3
2019-03-09
6,544
null
43.111
6,698.3
8.293
65,285.1
AL
Barry
3
2019-03-10
6,392
null
39.464
6,939.775
8.44
67,636.9
AL
Barry
3
2019-03-11
18,686
null
45.233
18,177.1
12.21
177,168.7
AL
Barry
3
2019-03-12
19,159
null
41.32
18,145.8
11.377
176,859.6
AL
Barry
3
2019-03-13
19,636
null
38.526
18,928
11.113
184,480.5
AL
Barry
3
2019-03-14
17,542
null
33.245
16,857.7
10.695
164,304.1
AL
Barry
3
2019-03-15
12,703
null
2.53
12,275.5
4.54
119,643.9
AL
Barry
3
2019-03-16
12,096
null
1.195
11,786.4
3.674
114,877.3
AL
Barry
3
2019-03-17
13,384
null
1.496
12,900.3
4.043
125,735.2
AL
Barry
3
2019-03-18
13,906
null
1.296
13,155.5
4.145
128,220.1
AL
Barry
3
2019-03-19
14,378
null
1.337
13,695.1
4.319
133,479.5
AL
Barry
3
2019-03-20
13,136
null
1.208
12,504.1
3.958
121,873.7
AL
Barry
3
2019-03-21
12,444
null
1.109
11,889.2
3.815
115,879.6
AL
Barry
3
2019-03-22
12,233
null
1.123
11,631.9
3.838
113,370.2
AL
Barry
3
2019-03-23
11,904
null
1.374
11,535
3.697
112,428.1
AL
Barry
3
2019-03-24
12,476
null
1.515
12,105.4
3.951
117,986.7
AL
Barry
3
2019-03-25
14,449
null
1.586
13,640.3
4.546
132,950
AL
Barry
3
2019-03-26
13,742
null
1.492
13,162.3
4.332
128,287.7
AL
Barry
3
2019-03-27
12,767
null
1.391
12,266.6
3.998
119,557.3
AL
Barry
3
2019-03-28
12,266
null
1.326
11,943.4
3.856
116,407.3
AL
Barry
3
2019-03-29
12,440
null
1.273
12,275.7
3.689
119,642.5
AL
Barry
3
2019-03-30
12,762
null
1.26
12,617
3.818
122,972.4
AL
Barry
3
2019-03-31
12,924
null
1.16
12,758.6
3.808
124,351.6
AL
Barry
3
2019-04-01
14,837
null
1.644
14,533.5
4.391
141,650.7
AL
Barry
3
2019-04-02
12,782
null
1.373
12,669.4
3.923
123,483.2
AL
Barry
3
2019-04-03
13,074
null
1.37
12,963
3.964
126,345.5
AL
Barry
3
2019-04-04
12,481
null
1.251
12,365.7
5.424
120,522.9
AL
Barry
3
2019-04-05
12,416
null
1.3
12,274
4.724
119,632
AL
Barry
3
2019-04-06
12,527
null
1.305
12,364.6
3.828
120,512
AL
Barry
3
2019-04-07
13,549
null
1.434
13,543.6
4.151
132,003
AL
Barry
3
2019-04-08
14,394
null
1.474
14,052.4
4.437
136,962.8
AL
Barry
3
2019-04-09
15,411
null
1.683
15,028.7
4.722
146,475.1
AL
Barry
3
2019-04-10
14,378
null
1.624
14,241.9
4.402
138,812.4
End of preview.

No dataset card yet

Downloads last month
11