Dataset Preview
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 1 new columns ({'has_pickle'}) and 7 missing columns ({'permno', 'linktype', 'linkprim', 'lagged_vol_30d', 'permco', 'gvkey', 'fwd_vol_30d'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SarthakVishnu/dissertation-dataset/filings_index.csv (at revision 783413dfaa271414825c76845dd5a7e3cad69f2a), [/tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/feature_table_preview.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/feature_table_preview.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/filings_index.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/filings_index.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/permno_linkage.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/permno_linkage.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/all_sp500_prices_2000_2024_delisted_include.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/all_sp500_prices_2000_2024_delisted_include.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ccm_linking_table.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ccm_linking_table.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/crsp_2025_daily.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/crsp_2025_daily.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ticker_cik_mapping(1).csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ticker_cik_mapping(1).csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/sp500_union_constituents(1).csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/sp500_union_constituents(1).csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/volatility_labels.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/volatility_labels.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.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
ticker: string
cik: int64
sic: int64
sic_description: string
fiscal_year: int64
filing_date: string
report_date: string
has_pickle: bool
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1189
to
{'ticker': Value('string'), 'cik': Value('int64'), 'permno': Value('float64'), 'permco': Value('float64'), 'gvkey': Value('float64'), 'sic': Value('int64'), 'sic_description': Value('string'), 'fiscal_year': Value('int64'), 'filing_date': Value('string'), 'report_date': Value('string'), 'lagged_vol_30d': Value('float64'), 'fwd_vol_30d': Value('float64'), 'linktype': Value('string'), 'linkprim': 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 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, 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 1 new columns ({'has_pickle'}) and 7 missing columns ({'permno', 'linktype', 'linkprim', 'lagged_vol_30d', 'permco', 'gvkey', 'fwd_vol_30d'}).
This happened while the csv dataset builder was generating data using
hf://datasets/SarthakVishnu/dissertation-dataset/filings_index.csv (at revision 783413dfaa271414825c76845dd5a7e3cad69f2a), [/tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/feature_table_preview.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/feature_table_preview.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/filings_index.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/filings_index.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/permno_linkage.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/permno_linkage.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/all_sp500_prices_2000_2024_delisted_include.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/all_sp500_prices_2000_2024_delisted_include.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ccm_linking_table.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ccm_linking_table.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/crsp_2025_daily.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/crsp_2025_daily.csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ticker_cik_mapping(1).csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/raw/ticker_cik_mapping(1).csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/sp500_union_constituents(1).csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/sp500_union_constituents(1).csv), /tmp/hf-datasets-cache/medium/datasets/61380317075624-config-parquet-and-info-SarthakVishnu-dissertatio-3d7c5c9a/hub/datasets--SarthakVishnu--dissertation-dataset/snapshots/783413dfaa271414825c76845dd5a7e3cad69f2a/volatility_labels.csv (origin=hf://datasets/SarthakVishnu/dissertation-dataset@783413dfaa271414825c76845dd5a7e3cad69f2a/volatility_labels.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.
ticker string | cik int64 | permno float64 | permco float64 | gvkey float64 | sic int64 | sic_description string | fiscal_year int64 | filing_date string | report_date string | lagged_vol_30d float64 | fwd_vol_30d float64 | linktype string | linkprim string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,006 | 2006-12-22 | 2006-10-31 | 0.236616 | 0.182221 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,007 | 2007-12-21 | 2007-10-31 | 0.373234 | 0.303039 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,008 | 2008-12-19 | 2008-10-31 | 0.740798 | 0.443364 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,009 | 2009-12-21 | 2009-10-31 | 0.217214 | 0.246036 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,010 | 2010-12-20 | 2010-10-31 | 0.267132 | 0.234809 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,011 | 2011-12-16 | 2011-10-31 | 0.494959 | 0.336943 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,012 | 2012-12-20 | 2012-10-31 | 0.286296 | 0.206732 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,013 | 2013-12-19 | 2013-10-31 | 0.297953 | 0.240549 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,014 | 2014-12-22 | 2014-10-31 | 0.236723 | 0.259562 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,015 | 2015-12-21 | 2015-10-31 | 0.24915 | 0.275786 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,016 | 2016-12-20 | 2016-10-31 | 0.233366 | 0.205756 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,017 | 2017-12-21 | 2017-10-31 | 0.198981 | 0.218508 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,018 | 2018-12-20 | 2018-10-31 | 0.372709 | 0.284656 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,019 | 2019-12-19 | 2019-10-31 | 0.138707 | 0.177596 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,020 | 2020-12-18 | 2020-10-31 | 0.237196 | 0.216462 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,021 | 2021-12-17 | 2021-10-31 | 0.273454 | 0.274781 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,022 | 2022-12-21 | 2022-10-31 | 0.380519 | 0.257612 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,023 | 2023-12-20 | 2023-10-31 | 0.326271 | 0.250061 | LC | P |
A | 1,090,872 | 87,432 | 36,364 | 126,554 | 3,826 | Laboratory Analytical Instruments | 2,024 | 2024-12-20 | 2024-10-31 | 0.256442 | 0.214278 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,008 | 2008-02-20 | 2008-02-20 | 0.88099 | 0.819137 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,008 | 2009-02-19 | 2008-12-31 | 1.136824 | 1.646924 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,009 | 2010-02-17 | 2009-12-31 | 0.707255 | 0.370986 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,010 | 2011-02-16 | 2010-12-31 | 0.517745 | 0.606585 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,011 | 2012-02-15 | 2011-12-31 | 0.626113 | 0.66246 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,012 | 2013-02-20 | 2012-12-31 | 0.356355 | 0.334796 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,014 | 2015-02-25 | 2014-12-31 | 0.452695 | 0.375587 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,015 | 2016-02-24 | 2015-12-31 | 0.418098 | 0.262765 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,016 | 2017-02-22 | 2016-12-31 | 0.32826 | 0.3025 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,017 | 2018-02-21 | 2017-12-31 | 0.412067 | 0.285683 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,018 | 2019-02-25 | 2018-12-31 | 0.37528 | 0.287501 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,019 | 2020-02-19 | 2019-12-31 | 0.434511 | 1.762165 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,020 | 2021-02-17 | 2020-12-31 | 0.525202 | 0.613774 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,021 | 2022-02-22 | 2021-12-31 | 0.538048 | 0.692386 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,022 | 2023-02-22 | 2022-12-31 | 0.41048 | 0.36048 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,023 | 2024-02-21 | 2023-12-31 | 0.55674 | 0.373243 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,024 | 2025-02-19 | 2024-12-31 | 0.404996 | 0.513885 | LC | P |
AAL | 6,201 | 21,020 | 20,010 | 1,045 | 4,512 | Air Transportation, Scheduled | 2,025 | 2026-02-18 | 2025-12-31 | 0.332615 | null | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,006 | 2007-02-28 | 2006-12-30 | 0.2327 | 0.2254 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,007 | 2008-02-27 | 2007-12-29 | 0.376615 | 0.358095 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,009 | 2009-03-04 | 2009-01-03 | 0.549721 | 0.447227 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,010 | 2010-03-02 | 2010-01-02 | 0.25571 | 0.230753 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,011 | 2011-03-01 | 2011-01-01 | 0.203609 | 0.158494 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,011 | 2012-02-28 | 2011-12-31 | 0.261237 | 0.132213 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,012 | 2013-02-25 | 2012-12-29 | 0.228115 | 0.173804 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,013 | 2014-02-25 | 2013-12-28 | 0.404594 | 0.194017 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,015 | 2015-03-03 | 2015-01-03 | 0.272781 | 0.217944 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,016 | 2016-03-01 | 2016-01-02 | 0.289324 | 0.192492 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,016 | 2017-02-28 | 2016-12-31 | 0.163637 | 0.130153 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,017 | 2018-02-21 | 2017-12-30 | 0.282542 | 0.386565 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,018 | 2019-02-19 | 2018-12-29 | 0.307373 | 0.294457 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,019 | 2020-02-18 | 2019-12-28 | 0.292459 | 1.000473 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,021 | 2021-02-22 | 2021-01-02 | 0.385925 | 0.271647 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,022 | 2022-02-15 | 2022-01-01 | 0.265302 | 0.342229 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,022 | 2023-02-28 | 2022-12-31 | 0.251717 | 0.298247 | LC | P |
AAP | 1,158,449 | 89,217 | 42,402 | 145,977 | 5,531 | Retail-Auto & Home Supply Stores | 2,023 | 2024-03-12 | 2023-12-30 | 0.410306 | 0.384753 | LC | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,006 | 2006-12-29 | 2006-09-30 | 0.266611 | 0.396857 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,008 | 2008-11-05 | 2008-09-27 | 1.049231 | 0.712575 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,009 | 2009-10-27 | 2009-09-26 | 0.240944 | 0.287686 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,010 | 2010-10-27 | 2010-09-25 | 0.230227 | 0.207458 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,011 | 2011-10-26 | 2011-09-24 | 0.34371 | 0.252671 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,012 | 2012-10-31 | 2012-09-29 | 0.274832 | 0.391732 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,013 | 2013-10-30 | 2013-09-28 | 0.233585 | 0.178972 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,014 | 2014-10-27 | 2014-09-27 | 0.227695 | 0.185411 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,015 | 2015-10-28 | 2015-09-26 | 0.237702 | 0.230892 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,016 | 2016-10-26 | 2016-09-24 | 0.177124 | 0.186621 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,017 | 2017-11-03 | 2017-09-30 | 0.181364 | 0.153628 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,018 | 2018-11-05 | 2018-09-29 | 0.361903 | 0.391335 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,019 | 2019-10-31 | 2019-09-28 | 0.205598 | 0.169261 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,020 | 2020-10-30 | 2020-09-26 | 0.408707 | 0.258769 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,021 | 2021-10-29 | 2021-09-25 | 0.199109 | 0.253626 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,022 | 2022-10-28 | 2022-09-24 | 0.350456 | 0.404969 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,023 | 2023-11-03 | 2023-09-30 | 0.180367 | 0.148735 | LU | P |
AAPL | 320,193 | 14,593 | 7 | 1,690 | 3,571 | Electronic Computers | 2,024 | 2024-11-01 | 2024-09-28 | 0.198696 | 0.128526 | LU | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,016 | 2017-02-17 | 2016-12-31 | 0.155874 | 0.110967 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,017 | 2018-02-16 | 2017-12-31 | 0.515126 | 0.464469 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,018 | 2019-02-27 | 2018-12-31 | 0.30936 | 0.162878 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,019 | 2020-02-21 | 2019-12-31 | 0.279504 | 0.723074 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,020 | 2021-02-19 | 2020-12-31 | 0.265734 | 0.251187 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,021 | 2022-02-18 | 2021-12-31 | 0.149695 | 0.168668 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,022 | 2023-02-17 | 2022-12-31 | 0.206556 | 0.168791 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,023 | 2024-02-20 | 2023-12-31 | 0.132202 | 0.15004 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,024 | 2025-02-14 | 2024-12-31 | 0.242173 | 0.20663 | LC | P |
ABBV | 1,551,152 | 13,721 | 54,287 | 16,101 | 2,834 | Pharmaceutical Preparations | 2,025 | 2026-02-20 | 2025-12-31 | 0.203341 | null | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,006 | 2007-02-23 | 2006-12-31 | 0.129583 | 0.247181 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,007 | 2008-02-19 | 2007-12-31 | 0.24923 | 0.247521 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,008 | 2009-02-20 | 2008-12-31 | 0.273581 | 0.449821 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,009 | 2010-02-19 | 2009-12-31 | 0.148269 | 0.116862 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,010 | 2011-02-18 | 2010-12-31 | 0.143211 | 0.146378 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,011 | 2012-02-21 | 2011-12-31 | 0.09694 | 0.11417 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,012 | 2013-02-15 | 2012-12-31 | 0.153187 | 0.189037 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,013 | 2014-02-21 | 2013-12-31 | 0.190641 | 0.122488 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,014 | 2015-02-27 | 2014-12-31 | 0.198935 | 0.156544 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,015 | 2016-02-19 | 2015-12-31 | 0.372899 | 0.183205 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,016 | 2017-02-17 | 2016-12-31 | 0.138552 | 0.099902 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,017 | 2018-02-16 | 2017-12-31 | 0.261108 | 0.238521 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,018 | 2019-02-22 | 2018-12-31 | 0.218932 | 0.143875 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,019 | 2020-02-21 | 2019-12-31 | 0.172421 | 0.867678 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,020 | 2021-02-19 | 2020-12-31 | 0.250682 | 0.220028 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,021 | 2022-02-18 | 2021-12-31 | 0.243449 | 0.258028 | LC | P |
ABT | 1,800 | 20,482 | 20,017 | 1,078 | 2,834 | Pharmaceutical Preparations | 2,022 | 2023-02-17 | 2022-12-31 | 0.166252 | 0.228276 | LC | P |
End of preview.
Dissertation Dataset — Phase 1 Data Pipeline
Project: Hybrid Topic and Domain-Adaptive Modelling for Financial Risk and Forecasting Institution: University of Edinburgh, School of Informatics Supervisor: Prof Tiejun Ma
This is a private research dataset. All files are used exclusively within the scope of this dissertation project and must not be redistributed.
What This Repo Contains
This dataset repo holds all Phase 1 pipeline outputs needed to run Phases 2–5 of the dissertation. It is the single source of truth for the cluster environment.
| File | Size | Description |
|---|---|---|
sp500_1A.tar.gz |
~440 MB | Item 1A Risk Factor text corpus — 8,247 pickle files, one per {TICKER}_{YEAR}, covering S&P 500 firms 2006–2025. Each pickle is a plain string of the full Item 1A section. |
feature_table.parquet |
~0.2 MB | Phase 1 master table — 8,105 rows, one per filing. Columns: ticker, cik, permno, sic, fiscal_year, filing_date, report_date, lagged_vol_30d, fwd_vol_30d. Placeholder columns for embedding (Phase 2) and topic_vector (Phase 4). |
filings_index.csv |
~0.9 MB | EDGAR submissions API output — filing dates, SIC codes, and has_pickle flag for all 656 CIKs. 11,447 total 10-K filings (2006–2025). |
volatility_labels.csv |
~0.7 MB | 30-day annualised volatility windows per filing. lagged_vol_30d = AR(1) baseline; fwd_vol_30d = prediction target. 94.9% coverage. |
permno_linkage.csv |
<0.1 MB | CIK → PERMNO mapping from WRDS CCM. 651/656 firms matched. |
sp500_union_constituents(1).csv |
<0.1 MB | S&P 500 universe — 656 unique CIK/ticker pairs (historical constituents). |
README.md |
— | This file. |
How to Download on the Cluster
# One-time login
huggingface-cli login
# Download all files
huggingface-cli download SarthakVishnu/dissertation-dataset \
--repo-type dataset \
--local-dir ~/dissertation/datasets/
# Unzip the Item 1A corpus
cd ~/dissertation/datasets/
tar -xzf sp500_1A.tar.gz && rm sp500_1A.tar.gz
How Each File Is Used Per Phase
| Phase | Files Used |
|---|---|
| Phase 2 — DAPT | sp500_1A/ (MLM pretraining corpus, train split ≤2024) |
| Phase 3 — Contrastive FT | sp500_1A/ + filings_index.csv (SIC codes for sector-view positive pairs) |
| Phase 4 — BERTopic | sp500_1A/ + feature_table.parquet (per-filing topic vectors) |
| Phase 5 — Ablation | feature_table.parquet + volatility_labels.csv (downstream vol forecasting) |
Temporal Split
| Split | Criterion | Approx. Filings | Role |
|---|---|---|---|
| Train | filing_date < 2025-01-01 |
~7,700 | DAPT, contrastive FT, BERTopic |
| Val | 2025-01-01 ≤ filing_date < 2026-01-01 |
~280 | Perplexity checkpointing, FinMTEB eval |
| Test | filing_date ≥ 2026-01-01 |
~125 | Held-out volatility forecasting |
Licence & Ethics
- Item 1A text and EDGAR-derived data are from publicly available SEC filings.
- WRDS/CRSP-derived data (
permno_linkage.csv,volatility_labels.csv,feature_table.parquet) is used under the University of Edinburgh's institutional licence and must not be redistributed externally. - No personal data or human subjects are involved.
- Downloads last month
- 8