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 2 new columns ({'YIELD, MEASURED IN LB / ACRE', 'PRODUCTION, MEASURED IN 480 LB BALES'}) and 2 missing columns ({'YIELD, MEASURED IN BU / ACRE', 'PRODUCTION, MEASURED IN BU'}).

This happened while the csv dataset builder was generating data using

hf://datasets/fudong03/Tiny-CropNet/USDA Crop Dataset/data/Cotton/2017/USDA_Cotton_County_2017.csv (at revision 07260d9d23d7093abd89cb5a78f8d82a439c8816)

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
              commodity_desc: string
              reference_period_desc: string
              year: int64
              state_ansi: int64
              state_name: string
              county_ansi: int64
              county_name: string
              asd_code: int64
              asd_desc: string
              domain_desc: string
              source_desc: string
              agg_level_desc: string
              PRODUCTION, MEASURED IN 480 LB BALES: double
              YIELD, MEASURED IN LB / ACRE: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2045
              to
              {'commodity_desc': Value(dtype='string', id=None), 'reference_period_desc': Value(dtype='string', id=None), 'year': Value(dtype='int64', id=None), 'state_ansi': Value(dtype='int64', id=None), 'state_name': Value(dtype='string', id=None), 'county_ansi': Value(dtype='int64', id=None), 'county_name': Value(dtype='string', id=None), 'asd_code': Value(dtype='int64', id=None), 'asd_desc': Value(dtype='string', id=None), 'domain_desc': Value(dtype='string', id=None), 'source_desc': Value(dtype='string', id=None), 'agg_level_desc': Value(dtype='string', id=None), 'PRODUCTION, MEASURED IN BU': Value(dtype='float64', id=None), 'YIELD, MEASURED IN BU / ACRE': 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 2 new columns ({'YIELD, MEASURED IN LB / ACRE', 'PRODUCTION, MEASURED IN 480 LB BALES'}) and 2 missing columns ({'YIELD, MEASURED IN BU / ACRE', 'PRODUCTION, MEASURED IN BU'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/fudong03/Tiny-CropNet/USDA Crop Dataset/data/Cotton/2017/USDA_Cotton_County_2017.csv (at revision 07260d9d23d7093abd89cb5a78f8d82a439c8816)
              
              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.

commodity_desc
string
reference_period_desc
string
year
int64
state_ansi
int64
state_name
string
county_ansi
int64
county_name
string
asd_code
int64
asd_desc
string
domain_desc
string
source_desc
string
agg_level_desc
string
PRODUCTION, MEASURED IN BU
float64
YIELD, MEASURED IN BU / ACRE
float64
CORN
YEAR
2,017
1
ALABAMA
1
AUTAUGA
40
BLACK BELT
TOTAL
SURVEY
COUNTY
111,000
170.8
CORN
YEAR
2,017
1
ALABAMA
3
BALDWIN
50
COASTAL PLAINS & GULF COAST
TOTAL
SURVEY
COUNTY
907,000
162
CORN
YEAR
2,017
1
ALABAMA
5
BARBOUR
60
WIREGRASS
TOTAL
SURVEY
COUNTY
298,000
192.3
CORN
YEAR
2,017
1
ALABAMA
11
BULLOCK
40
BLACK BELT
TOTAL
SURVEY
COUNTY
108,000
135
CORN
YEAR
2,017
1
ALABAMA
19
CHEROKEE
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
536,000
146.8
CORN
YEAR
2,017
1
ALABAMA
29
CLEBURNE
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
50,000
111.1
CORN
YEAR
2,017
1
ALABAMA
31
COFFEE
60
WIREGRASS
TOTAL
SURVEY
COUNTY
487,000
120.2
CORN
YEAR
2,017
1
ALABAMA
33
COLBERT
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
2,930,000
195.3
CORN
YEAR
2,017
1
ALABAMA
35
CONECUH
50
COASTAL PLAINS & GULF COAST
TOTAL
SURVEY
COUNTY
70,000
120.7
CORN
YEAR
2,017
1
ALABAMA
39
COVINGTON
60
WIREGRASS
TOTAL
SURVEY
COUNTY
340,000
141.7
CORN
YEAR
2,017
1
ALABAMA
41
CRENSHAW
60
WIREGRASS
TOTAL
SURVEY
COUNTY
348,000
145
CORN
YEAR
2,017
1
ALABAMA
43
CULLMAN
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
255,000
175.9
CORN
YEAR
2,017
1
ALABAMA
45
DALE
60
WIREGRASS
TOTAL
SURVEY
COUNTY
252,000
144
CORN
YEAR
2,017
1
ALABAMA
47
DALLAS
40
BLACK BELT
TOTAL
SURVEY
COUNTY
778,000
149.6
CORN
YEAR
2,017
1
ALABAMA
49
DE KALB
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
1,846,000
163.4
CORN
YEAR
2,017
1
ALABAMA
51
ELMORE
40
BLACK BELT
TOTAL
SURVEY
COUNTY
329,000
153
CORN
YEAR
2,017
1
ALABAMA
53
ESCAMBIA
50
COASTAL PLAINS & GULF COAST
TOTAL
SURVEY
COUNTY
462,000
140
CORN
YEAR
2,017
1
ALABAMA
55
ETOWAH
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
83,000
118.6
CORN
YEAR
2,017
1
ALABAMA
57
FAYETTE
30
UPPER PLAINS & PIEDMONT
TOTAL
SURVEY
COUNTY
85,000
130.8
CORN
YEAR
2,017
1
ALABAMA
59
FRANKLIN
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
322,000
178.9
CORN
YEAR
2,017
1
ALABAMA
61
GENEVA
60
WIREGRASS
TOTAL
SURVEY
COUNTY
683,000
130.1
CORN
YEAR
2,017
1
ALABAMA
71
JACKSON
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
3,064,000
150.2
CORN
YEAR
2,017
1
ALABAMA
77
LAUDERDALE
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
3,676,000
178.4
CORN
YEAR
2,017
1
ALABAMA
79
LAWRENCE
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
4,712,000
204
CORN
YEAR
2,017
1
ALABAMA
83
LIMESTONE
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
3,818,000
198.9
CORN
YEAR
2,017
1
ALABAMA
87
MACON
40
BLACK BELT
TOTAL
SURVEY
COUNTY
121,000
151.3
CORN
YEAR
2,017
1
ALABAMA
89
MADISON
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
4,328,000
176.7
CORN
YEAR
2,017
1
ALABAMA
95
MARSHALL
20
MOUNTAINS & EASTERN VALLEY
TOTAL
SURVEY
COUNTY
654,000
155.7
CORN
YEAR
2,017
1
ALABAMA
99
MONROE
50
COASTAL PLAINS & GULF COAST
TOTAL
SURVEY
COUNTY
223,000
171.5
CORN
YEAR
2,017
1
ALABAMA
103
MORGAN
10
NORTHERN VALLEY
TOTAL
SURVEY
COUNTY
548,000
182.7
CORN
YEAR
2,017
1
ALABAMA
105
PERRY
40
BLACK BELT
TOTAL
SURVEY
COUNTY
746,000
122.3
CORN
YEAR
2,017
1
ALABAMA
109
PIKE
60
WIREGRASS
TOTAL
SURVEY
COUNTY
315,000
126
CORN
YEAR
2,017
1
ALABAMA
111
RANDOLPH
30
UPPER PLAINS & PIEDMONT
TOTAL
SURVEY
COUNTY
83,000
92.2
CORN
YEAR
2,017
1
ALABAMA
121
TALLADEGA
30
UPPER PLAINS & PIEDMONT
TOTAL
SURVEY
COUNTY
689,000
139.2
CORN
YEAR
2,017
1
ALABAMA
125
TUSCALOOSA
30
UPPER PLAINS & PIEDMONT
TOTAL
SURVEY
COUNTY
247,000
183
CORN
YEAR
2,017
5
ARKANSAS
1
ARKANSAS
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
8,885,000
192.3
CORN
YEAR
2,017
5
ARKANSAS
3
ASHLEY
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
4,905,000
196.2
CORN
YEAR
2,017
5
ARKANSAS
17
CHICOT
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
3,630,000
182.4
CORN
YEAR
2,017
5
ARKANSAS
21
CLAY
30
NORTHEAST
TOTAL
SURVEY
COUNTY
6,205,000
203.4
CORN
YEAR
2,017
5
ARKANSAS
31
CRAIGHEAD
30
NORTHEAST
TOTAL
SURVEY
COUNTY
6,045,000
185.4
CORN
YEAR
2,017
5
ARKANSAS
35
CRITTENDEN
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
2,460,000
178.3
CORN
YEAR
2,017
5
ARKANSAS
41
DESHA
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
5,135,000
193.8
CORN
YEAR
2,017
5
ARKANSAS
43
DREW
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
1,930,000
189.2
CORN
YEAR
2,017
5
ARKANSAS
55
GREENE
30
NORTHEAST
TOTAL
SURVEY
COUNTY
3,260,000
186.3
CORN
YEAR
2,017
5
ARKANSAS
63
INDEPENDENCE
30
NORTHEAST
TOTAL
SURVEY
COUNTY
720,000
160
CORN
YEAR
2,017
5
ARKANSAS
67
JACKSON
30
NORTHEAST
TOTAL
SURVEY
COUNTY
1,690,000
174.2
CORN
YEAR
2,017
5
ARKANSAS
69
JEFFERSON
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
7,145,000
187
CORN
YEAR
2,017
5
ARKANSAS
71
JOHNSON
40
WEST CENTRAL
TOTAL
SURVEY
COUNTY
212,000
151.4
CORN
YEAR
2,017
5
ARKANSAS
73
LAFAYETTE
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
1,908,000
165.9
CORN
YEAR
2,017
5
ARKANSAS
75
LAWRENCE
30
NORTHEAST
TOTAL
SURVEY
COUNTY
1,190,000
170
CORN
YEAR
2,017
5
ARKANSAS
77
LEE
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
5,870,000
184
CORN
YEAR
2,017
5
ARKANSAS
79
LINCOLN
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
3,505,000
189.5
CORN
YEAR
2,017
5
ARKANSAS
85
LONOKE
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
6,755,000
187.6
CORN
YEAR
2,017
5
ARKANSAS
93
MISSISSIPPI
30
NORTHEAST
TOTAL
SURVEY
COUNTY
2,830,000
163.6
CORN
YEAR
2,017
5
ARKANSAS
95
MONROE
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
5,280,000
182.1
CORN
YEAR
2,017
5
ARKANSAS
107
PHILLIPS
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
5,610,000
172.1
CORN
YEAR
2,017
5
ARKANSAS
111
POINSETT
30
NORTHEAST
TOTAL
SURVEY
COUNTY
3,635,000
195.4
CORN
YEAR
2,017
5
ARKANSAS
121
RANDOLPH
30
NORTHEAST
TOTAL
SURVEY
COUNTY
800,000
181.8
CORN
YEAR
2,017
5
ARKANSAS
123
SAINT FRANCIS
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
2,990,000
183.4
CORN
YEAR
2,017
5
ARKANSAS
145
WHITE
30
NORTHEAST
TOTAL
SURVEY
COUNTY
1,280,000
203.2
CORN
YEAR
2,017
5
ARKANSAS
147
WOODRUFF
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
2,910,000
177.4
CORN
YEAR
2,017
6
CALIFORNIA
77
SAN JOAQUIN
51
SAN JOAQUIN VALLEY
TOTAL
SURVEY
COUNTY
3,134,000
170.3
CORN
YEAR
2,017
8
COLORADO
1
ADAMS
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
2,395,000
82
CORN
YEAR
2,017
8
COLORADO
11
BENT
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
2,103,000
164.3
CORN
YEAR
2,017
8
COLORADO
13
BOULDER
20
NORTHEAST
TOTAL
SURVEY
COUNTY
256,000
160
CORN
YEAR
2,017
8
COLORADO
17
CHEYENNE
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
6,960,000
110.7
CORN
YEAR
2,017
8
COLORADO
39
ELBERT
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
464,000
71.4
CORN
YEAR
2,017
8
COLORADO
63
KIT CARSON
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
28,955,000
133.7
CORN
YEAR
2,017
8
COLORADO
87
MORGAN
20
NORTHEAST
TOTAL
SURVEY
COUNTY
9,959,000
184.8
CORN
YEAR
2,017
8
COLORADO
89
OTERO
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
2,180,000
171.7
CORN
YEAR
2,017
8
COLORADO
95
PHILLIPS
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
18,885,000
148.6
CORN
YEAR
2,017
8
COLORADO
101
PUEBLO
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
1,094,000
193.6
CORN
YEAR
2,017
8
COLORADO
115
SEDGWICK
20
NORTHEAST
TOTAL
SURVEY
COUNTY
9,245,000
140.5
CORN
YEAR
2,017
8
COLORADO
121
WASHINGTON
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
10,385,000
79.5
CORN
YEAR
2,017
8
COLORADO
123
WELD
20
NORTHEAST
TOTAL
SURVEY
COUNTY
10,595,000
175.4
CORN
YEAR
2,017
8
COLORADO
125
YUMA
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
44,878,000
194.4
CORN
YEAR
2,017
10
DELAWARE
1
KENT
50
CENTRAL
TOTAL
SURVEY
COUNTY
10,085,000
190.3
CORN
YEAR
2,017
10
DELAWARE
3
NEW CASTLE
20
NORTHERN
TOTAL
SURVEY
COUNTY
2,964,000
172.3
CORN
YEAR
2,017
10
DELAWARE
5
SUSSEX
80
SOUTHERN
TOTAL
SURVEY
COUNTY
19,270,000
191.2
CORN
YEAR
2,017
13
GEORGIA
1
APPLING
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
297,000
135
CORN
YEAR
2,017
13
GEORGIA
3
ATKINSON
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
250,000
192.3
CORN
YEAR
2,017
13
GEORGIA
5
BACON
90
SOUTHEAST
TOTAL
SURVEY
COUNTY
331,000
143.9
CORN
YEAR
2,017
13
GEORGIA
7
BAKER
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
1,190,000
195.1
CORN
YEAR
2,017
13
GEORGIA
15
BARTOW
10
NORTHWEST
TOTAL
SURVEY
COUNTY
298,000
149
CORN
YEAR
2,017
13
GEORGIA
19
BERRIEN
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
626,000
173.9
CORN
YEAR
2,017
13
GEORGIA
27
BROOKS
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
158,000
143.6
CORN
YEAR
2,017
13
GEORGIA
31
BULLOCH
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
412,000
121.2
CORN
YEAR
2,017
13
GEORGIA
33
BURKE
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
1,727,000
203.2
CORN
YEAR
2,017
13
GEORGIA
37
CALHOUN
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
1,830,000
220.5
CORN
YEAR
2,017
13
GEORGIA
55
CHATTOOGA
10
NORTHWEST
TOTAL
SURVEY
COUNTY
197,000
164.2
CORN
YEAR
2,017
13
GEORGIA
61
CLAY
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
273,000
182
CORN
YEAR
2,017
13
GEORGIA
69
COFFEE
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
599,000
171.1
CORN
YEAR
2,017
13
GEORGIA
71
COLQUITT
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
860,000
195.5
CORN
YEAR
2,017
13
GEORGIA
75
COOK
80
SOUTH CENTRAL
TOTAL
SURVEY
COUNTY
169,000
169
CORN
YEAR
2,017
13
GEORGIA
87
DECATUR
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
1,805,000
192
CORN
YEAR
2,017
13
GEORGIA
99
EARLY
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
1,347,000
184.5
CORN
YEAR
2,017
13
GEORGIA
107
EMANUEL
60
EAST CENTRAL
TOTAL
SURVEY
COUNTY
214,000
125.9
CORN
YEAR
2,017
13
GEORGIA
129
GORDON
10
NORTHWEST
TOTAL
SURVEY
COUNTY
266,000
98.5
CORN
YEAR
2,017
13
GEORGIA
131
GRADY
70
SOUTHWEST
TOTAL
SURVEY
COUNTY
823,000
149.6
CORN
YEAR
2,017
13
GEORGIA
137
HABERSHAM
30
NORTHEAST
TOTAL
SURVEY
COUNTY
25,900
129.5
End of preview.