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 4 new columns ({'DivisionNum', 'Description', 'FullDescription', 'Division'}) and 3 missing columns ({'AGRICULTURAL PRODUCTION-CROPS', '100', 'Industrial Applications and Services'}).
This happened while the csv dataset builder was generating data using
hf://datasets/24601p/sec-data/lookups/divisions.csv (at revision 15a6606b4c9fc540ec0e96f32301a7dfd2df8be4), ['hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/SICcodes.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/divisions.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/industry-groups.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/major-groups.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/ticker.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 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, 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 795, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
Division: string
DivisionNum: int64
Description: string
FullDescription: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 765
to
{'100': Value('int64'), 'Industrial Applications and Services': Value('string'), 'AGRICULTURAL PRODUCTION-CROPS': 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 1369, 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 948, 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 1694, 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 1850, 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 4 new columns ({'DivisionNum', 'Description', 'FullDescription', 'Division'}) and 3 missing columns ({'AGRICULTURAL PRODUCTION-CROPS', '100', 'Industrial Applications and Services'}).
This happened while the csv dataset builder was generating data using
hf://datasets/24601p/sec-data/lookups/divisions.csv (at revision 15a6606b4c9fc540ec0e96f32301a7dfd2df8be4), ['hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/SICcodes.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/divisions.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/industry-groups.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/major-groups.csv', 'hf://datasets/24601p/sec-data@15a6606b4c9fc540ec0e96f32301a7dfd2df8be4/lookups/ticker.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.
100 int64 | Industrial Applications and Services string | AGRICULTURAL PRODUCTION-CROPS string |
|---|---|---|
200 | Industrial Applications and Services | AGRICULTURAL PROD-LIVESTOCK & ANIMAL SPECIALTIES |
700 | Industrial Applications and Services | AGRICULTURAL SERVICES |
800 | Industrial Applications and Services | FORESTRY |
900 | Industrial Applications and Services | FISHING, HUNTING AND TRAPPING |
1,000 | Office of Energy & Transportation | METAL MINING |
1,040 | Office of Energy & Transportation | GOLD AND SILVER ORES |
1,090 | Office of Energy & Transportation | MISCELLANEOUS METAL ORES |
1,220 | Office of Energy & Transportation | BITUMINOUS COAL & LIGNITE MINING |
1,221 | Office of Energy & Transportation | BITUMINOUS COAL & LIGNITE SURFACE MINING |
1,311 | Office of Energy & Transportation | CRUDE PETROLEUM & NATURAL GAS |
1,381 | Office of Energy & Transportation | DRILLING OIL & GAS WELLS |
1,382 | Office of Energy & Transportation | OIL & GAS FIELD EXPLORATION SERVICES |
1,389 | Office of Energy & Transportation | OIL & GAS FIELD SERVICES, NEC |
1,400 | Office of Energy & Transportation | MINING & QUARRYING OF NONMETALLIC MINERALS (NO FUELS) |
1,520 | Office of Real Estate & Construction | GENERAL BLDG CONTRACTORS - RESIDENTIAL BLDGS |
1,531 | Office of Real Estate & Construction | OPERATIVE BUILDERS |
1,540 | Office of Real Estate & Construction | GENERAL BLDG CONTRACTORS - NONRESIDENTIAL BLDGS |
1,600 | Office of Real Estate & Construction | HEAVY CONSTRUCTION OTHER THAN BLDG CONST - CONTRACTORS |
1,623 | Office of Real Estate & Construction | WATER, SEWER, PIPELINE, COMM & POWER LINE CONSTRUCTION |
1,700 | Office of Real Estate & Construction | CONSTRUCTION - SPECIAL TRADE CONTRACTORS |
1,731 | Office of Real Estate & Construction | ELECTRICAL WORK |
2,000 | Office of Manufacturing | FOOD AND KINDRED PRODUCTS |
2,011 | Office of Manufacturing | MEAT PACKING PLANTS |
2,013 | Office of Manufacturing | SAUSAGES & OTHER PREPARED MEAT PRODUCTS |
2,015 | Office of Manufacturing | POULTRY SLAUGHTERING AND PROCESSING |
2,020 | Office of Manufacturing | DAIRY PRODUCTS |
2,024 | Office of Manufacturing | ICE CREAM & FROZEN DESSERTS |
2,030 | Office of Manufacturing | CANNED, FROZEN & PRESERVD FRUIT, VEG & FOOD SPECIALTIES |
2,033 | Office of Manufacturing | CANNED, FRUITS, VEG, PRESERVES, JAMS & JELLIES |
2,040 | Office of Manufacturing | GRAIN MILL PRODUCTS |
2,050 | Office of Manufacturing | BAKERY PRODUCTS |
2,052 | Office of Manufacturing | COOKIES & CRACKERS |
2,060 | Office of Manufacturing | SUGAR & CONFECTIONERY PRODUCTS |
2,070 | Office of Manufacturing | FATS & OILS |
2,080 | Office of Manufacturing | BEVERAGES |
2,082 | Office of Manufacturing | MALT BEVERAGES |
2,086 | Office of Manufacturing | BOTTLED & CANNED SOFT DRINKS & CARBONATED WATERS |
2,090 | Office of Manufacturing | MISCELLANEOUS FOOD PREPARATIONS & KINDRED PRODUCTS |
2,092 | Office of Manufacturing | PREPARED FRESH OR FROZEN FISH & SEAFOODS |
2,100 | Office of Manufacturing | TOBACCO PRODUCTS |
2,111 | Office of Manufacturing | CIGARETTES |
2,200 | Office of Manufacturing | TEXTILE MILL PRODUCTS |
2,211 | Office of Manufacturing | BROADWOVEN FABRIC MILLS, COTTON |
2,221 | Office of Manufacturing | BROADWOVEN FABRIC MILLS, MAN MADE FIBER & SILK |
2,250 | Office of Manufacturing | KNITTING MILLS |
2,253 | Office of Manufacturing | KNIT OUTERWEAR MILLS |
2,273 | Office of Manufacturing | CARPETS & RUGS |
2,300 | Office of Manufacturing | APPAREL & OTHER FINISHD PRODS OF FABRICS & SIMILAR MATL |
2,320 | Office of Manufacturing | MEN'S & BOYS' FURNISHGS, WORK CLOTHG, & ALLIED GARMENTS |
2,330 | Office of Manufacturing | WOMEN'S, MISSES', AND JUNIORS OUTERWEAR |
2,340 | Office of Manufacturing | WOMEN'S, MISSES', CHILDREN'S & INFANTS' UNDERGARMENTS |
2,390 | Office of Manufacturing | MISCELLANEOUS FABRICATED TEXTILE PRODUCTS |
2,400 | Office of Manufacturing | LUMBER & WOOD PRODUCTS (NO FURNITURE) |
2,421 | Office of Manufacturing | SAWMILLS & PLANTING MILLS, GENERAL |
2,430 | Office of Manufacturing | MILLWOOD, VENEER, PLYWOOD, & STRUCTURAL WOOD MEMBERS |
2,451 | Office of Manufacturing | MOBILE HOMES |
2,452 | Office of Manufacturing | PREFABRICATED WOOD BLDGS & COMPONENTS |
2,510 | Office of Manufacturing | HOUSEHOLD FURNITURE |
2,511 | Office of Manufacturing | WOOD HOUSEHOLD FURNITURE, (NO UPHOLSTERED) |
2,520 | Office of Manufacturing | OFFICE FURNITURE |
2,522 | Office of Manufacturing | OFFICE FURNITURE (NO WOOD) |
2,531 | Office of Manufacturing | PUBLIC BLDG & RELATED FURNITURE |
2,540 | Office of Manufacturing | PARTITIONS, SHELVG, LOCKERS, & OFFICE & STORE FIXTURES |
2,590 | Office of Manufacturing | MISCELLANEOUS FURNITURE & FIXTURES |
2,600 | Office of Manufacturing | PAPERS & ALLIED PRODUCTS |
2,611 | Office of Manufacturing | PULP MILLS |
2,621 | Office of Manufacturing | PAPER MILLS |
2,631 | Office of Manufacturing | PAPERBOARD MILLS |
2,650 | Office of Manufacturing | PAPERBOARD CONTAINERS & BOXES |
2,670 | Office of Manufacturing | CONVERTED PAPER & PAPERBOARD PRODS (NO CONTANERS/BOXES) |
2,673 | Office of Manufacturing | PLASTICS, FOIL & COATED PAPER BAGS |
2,711 | Office of Manufacturing | NEWSPAPERS: PUBLISHING OR PUBLISHING & PRINTING |
2,721 | Office of Manufacturing | PERIODICALS: PUBLISHING OR PUBLISHING & PRINTING |
2,731 | Office of Manufacturing | BOOKS: PUBLISHING OR PUBLISHING & PRINTING |
2,732 | Office of Manufacturing | BOOK PRINTING |
2,741 | Office of Manufacturing | MISCELLANEOUS PUBLISHING |
2,750 | Office of Manufacturing | COMMERCIAL PRINTING |
2,761 | Office of Manufacturing | MANIFOLD BUSINESS FORMS |
2,771 | Office of Manufacturing | GREETING CARDS |
2,780 | Office of Manufacturing | BLANKBOOKS, LOOSELEAF BINDERS & BOOKBINDG & RELATD WORK |
2,790 | Office of Manufacturing | SERVICE INDUSTRIES FOR THE PRINTING TRADE |
2,800 | Industrial Applications and Services | CHEMICALS & ALLIED PRODUCTS |
2,810 | Industrial Applications and Services | INDUSTRIAL INORGANIC CHEMICALS |
2,820 | Industrial Applications and Services | PLASTIC MATERIAL, SYNTH RESIN/RUBBER, CELLULOS (NO GLASS) |
2,821 | Industrial Applications and Services | PLASTIC MATERIALS, SYNTH RESINS & NONVULCAN ELASTOMERS |
2,833 | Office of Life Sciences | MEDICINAL CHEMICALS & BOTANICAL PRODUCTS |
2,834 | Office of Life Sciences | PHARMACEUTICAL PREPARATIONS |
2,835 | Office of Life Sciences | IN VITRO & IN VIVO DIAGNOSTIC SUBSTANCES |
2,836 | Office of Life Sciences | BIOLOGICAL PRODUCTS, (NO DISGNOSTIC SUBSTANCES) |
2,840 | Industrial Applications and Services | SOAP, DETERGENTS, CLEANG PREPARATIONS, PERFUMES, COSMETICS |
2,842 | Industrial Applications and Services | SPECIALTY CLEANING, POLISHING AND SANITATION PREPARATIONS |
2,844 | Industrial Applications and Services | PERFUMES, COSMETICS & OTHER TOILET PREPARATIONS |
2,851 | Industrial Applications and Services | PAINTS, VARNISHES, LACQUERS, ENAMELS & ALLIED PRODS |
2,860 | Industrial Applications and Services | INDUSTRIAL ORGANIC CHEMICALS |
2,870 | Industrial Applications and Services | AGRICULTURAL CHEMICALS |
2,890 | Industrial Applications and Services | MISCELLANEOUS CHEMICAL PRODUCTS |
2,891 | Industrial Applications and Services | ADHESIVES & SEALANTS |
2,911 | Office of Energy & Transportation | PETROLEUM REFINING |
2,950 | Office of Energy & Transportation | ASPHALT PAVING & ROOFING MATERIALS |
2,990 | Office of Energy & Transportation | MISCELLANEOUS PRODUCTS OF PETROLEUM & COAL |
End of preview.