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 40 new columns ({'kalshi_raw', 'event_ticker', 'floor_strike', 'tag_ids', 'settlement_value', 'outcome', 'description', 'close_time', 'no_bid', 'daily_time_series', 'title', 'cap_strike', 'no_ask', 'yes_bid', 'market_ticker', 'start_ts', 'volumn', 'end_ts', 'tags', 'time_series', 'result', 'series_ticker', 'settlement_source', 'category', 'rules', 'status', 'split_type', 'volume', 'split_cutoff_ts', 'open_time', 'last_price', 'daily_breakpoints', 'open_interest', 'yes_ask', 'snapshot_history', 'resolution_source', 'strike_type', 'expiration_time', 'liquidity', 'subtitle'}) and 10 missing columns ({'before', 'news', 'window_history', 'z_score', 'attributions', 'window_start', 'change', 'window_end', 'after', 'sample_type'}).
This happened while the json dataset builder was generating data using
hf://datasets/lwaekfjlk/prediction-market-news/kalshi/kalshi_data_processed_with_news_test_2025-11-01_zscore_top200.jsonl (at revision 700a108b8103f03cea392b90b31e8d075c8f208b)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
event_id: string
market_id: string
question: string
resolution_source: null
volumn: null
outcome: string
description: string
start_ts: double
end_ts: double
tags: null
tag_ids: null
categories: list<item: string>
child 0, item: string
daily_time_series: list<item: struct<t: int64, p: double>>
child 0, item: struct<t: int64, p: double>
child 0, t: int64
child 1, p: double
time_series: list<item: struct<t: int64, p: double>>
child 0, item: struct<t: int64, p: double>
child 0, t: int64
child 1, p: double
daily_breakpoints: list<item: struct<before: struct<t: double, p: double>, after: struct<t: double, p: double>, change: (... 245 chars omitted)
child 0, item: struct<before: struct<t: double, p: double>, after: struct<t: double, p: double>, change: double, z_ (... 233 chars omitted)
child 0, before: struct<t: double, p: double>
child 0, t: double
child 1, p: double
child 1, after: struct<t: double, p: double>
child 0, t: double
child 1, p: double
child 2, change: double
child 3, z_score: double
child 4, window_start: double
child 5, window_end: double
child 6, window_history: list<item: struct<t: double, p: double>>
child 0, item: struct<t: double, p: double>
child 0, t: double
child 1, p: double
child 7, news: list<item: struct<title: string, description: string, url: string, published_at: timestamp[s], sourc (... 11 chars omitted)
child 0, item: struct<title: string, description: string, url: string, published_at: timestamp[s], source: string>
child 0, title: string
child 1, description: string
child 2, url: string
child 3, published_at: timestamp[s]
child 4, source: string
event_ticker: string
market_ticker: string
title: string
subtitle: string
category: null
series_ticker: null
strike_type: null
floor_strike: null
cap_strike: null
open_time: null
close_time: null
expiration_time: null
settlement_value: null
result: null
status: null
volume: null
open_interest: null
liquidity: null
yes_bid: null
yes_ask: null
no_bid: null
no_ask: null
last_price: null
settlement_source: null
snapshot_history: null
rules: null
kalshi_raw: null
split_cutoff_ts: double
split_type: string
to
{'market_id': Value('string'), 'event_id': Value('string'), 'question': Value('string'), 'categories': List(Value('string')), 'sample_type': Value('string'), 'before': {'t': Value('float64'), 'p': Value('float64')}, 'after': {'t': Value('float64'), 'p': Value('float64')}, 'change': Value('float64'), 'z_score': Value('float64'), 'window_start': Value('float64'), 'window_end': Value('float64'), 'window_history': List({'t': Value('float64'), 'p': Value('float64')}), 'news': List({'title': Value('string'), 'description': Value('string'), 'url': Value('string'), 'published_at': Value('timestamp[s]'), 'source': Value('string')}), 'attributions': List({'news_idx': Value('int64'), 'score': Value('float64')})}
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 1339, 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 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 1833, 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 40 new columns ({'kalshi_raw', 'event_ticker', 'floor_strike', 'tag_ids', 'settlement_value', 'outcome', 'description', 'close_time', 'no_bid', 'daily_time_series', 'title', 'cap_strike', 'no_ask', 'yes_bid', 'market_ticker', 'start_ts', 'volumn', 'end_ts', 'tags', 'time_series', 'result', 'series_ticker', 'settlement_source', 'category', 'rules', 'status', 'split_type', 'volume', 'split_cutoff_ts', 'open_time', 'last_price', 'daily_breakpoints', 'open_interest', 'yes_ask', 'snapshot_history', 'resolution_source', 'strike_type', 'expiration_time', 'liquidity', 'subtitle'}) and 10 missing columns ({'before', 'news', 'window_history', 'z_score', 'attributions', 'window_start', 'change', 'window_end', 'after', 'sample_type'}).
This happened while the json dataset builder was generating data using
hf://datasets/lwaekfjlk/prediction-market-news/kalshi/kalshi_data_processed_with_news_test_2025-11-01_zscore_top200.jsonl (at revision 700a108b8103f03cea392b90b31e8d075c8f208b)
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.
market_id string | event_id string | question string | categories list | sample_type string | before dict | after dict | change float64 | z_score float64 | window_start float64 | window_end float64 | window_history list | news list | attributions list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1743825600,
"p": 0.77
} | {
"t": 1743998400,
"p": 0.8657
} | 0.0957 | 4.7 | 1,739,941,200 | 1,743,998,400 | [
{
"t": 1739941200,
"p": 0.694
},
{
"t": 1740027600,
"p": 0.7541
},
{
"t": 1740114000,
"p": 0.7625
},
{
"t": 1740200400,
"p": 0.76
},
{
"t": 1740459600,
"p": 0.7536
},
{
"t": 1740718800,
"p": 0.69
},
{
"t": 1740891600,
"p": 0.7324
},
... | [
{
"title": "Doug Emhoff criticizes his law firm for coming to agreement with Trump administraiton",
"description": "Speaking at a charity gala dinner last night in Los Angeles, former Second Gentleman Doug Emhoff condemned the decision by his law firm to preemptively come to an arrangement with the Trump ad... | [
{
"news_idx": 0,
"score": 0.1
},
{
"news_idx": 1,
"score": 0.1
},
{
"news_idx": 2,
"score": 0.1
},
{
"news_idx": 3,
"score": 0.1
},
{
"news_idx": 4,
"score": 0.1
},
{
"news_idx": 5,
"score": 0.1
},
{
"news_idx": 6,
"score": 0.1
},
{... |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1747627200,
"p": 0.79
} | {
"t": 1747713600,
"p": 0.9031
} | 0.1131 | 10.31 | 1,745,985,600 | 1,747,713,600 | [
{
"t": 1745985600,
"p": 0.817
},
{
"t": 1746072000,
"p": 0.9195
},
{
"t": 1746158400,
"p": 0.82
},
{
"t": 1746244800,
"p": 0.8062
},
{
"t": 1746417600,
"p": 0.9109
},
{
"t": 1746504000,
"p": 0.91
},
{
"t": 1746590400,
"p": 0.8036
},
... | [
{
"title": "'Everyone called me crazy': Trump pal lobs conspiracy theories over Biden cancer",
"description": "A MAGA influencer who has the president's ear is spreading conspiracy theories following former President Joe Biden's recent cancer announcement.\n\tLaura Loomer, who has been credited for getting ... | [
{
"news_idx": 0,
"score": 0.1
},
{
"news_idx": 1,
"score": 0.1
},
{
"news_idx": 2,
"score": 0.1
},
{
"news_idx": 3,
"score": 0.1
},
{
"news_idx": 4,
"score": 0.1
},
{
"news_idx": 5,
"score": 0.1
},
{
"news_idx": 6,
"score": 0
},
{
... |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1747713600,
"p": 0.9031
} | {
"t": 1747886400,
"p": 0.7918
} | 0.1113 | 10.13 | 1,746,072,000 | 1,747,886,400 | [
{
"t": 1746072000,
"p": 0.9195
},
{
"t": 1746158400,
"p": 0.82
},
{
"t": 1746244800,
"p": 0.8062
},
{
"t": 1746417600,
"p": 0.9109
},
{
"t": 1746504000,
"p": 0.91
},
{
"t": 1746590400,
"p": 0.8036
},
{
"t": 1746676800,
"p": 0.8
},
{... | [
{
"title": "Letters: Finance continues to rule U.S. health care",
"description": "Also: Dan Walters | Legislative consequences | Therapy stigma | Trump hatred. East Bay Times reader letters to the editor for May 21, 2025.",
"url": "https://www.mercurynews.com/2025/05/20/letters-finance-rules-us-health-c... | [
{
"news_idx": 0,
"score": 0.1
},
{
"news_idx": 1,
"score": 0.1
},
{
"news_idx": 2,
"score": 0
},
{
"news_idx": 3,
"score": 0.1
},
{
"news_idx": 4,
"score": 0.7
},
{
"news_idx": 5,
"score": 0.1
},
{
"news_idx": 6,
"score": 0.1
},
{
... |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1747886400,
"p": 0.7918
} | {
"t": 1748059200,
"p": 0.88
} | 0.0882 | 7.82 | 1,746,158,400 | 1,748,059,200 | [
{
"t": 1746158400,
"p": 0.82
},
{
"t": 1746244800,
"p": 0.8062
},
{
"t": 1746417600,
"p": 0.9109
},
{
"t": 1746504000,
"p": 0.91
},
{
"t": 1746590400,
"p": 0.8036
},
{
"t": 1746676800,
"p": 0.8
},
{
"t": 1746849600,
"p": 0.81
},
{
... | [
{
"title": "L3Harris to pay $62 million",
"description": "The L3Harris settlement was announced by the Department of Justice one day after the Trump administration formally accepted the Boeing jet as a gift from Qatar.",
"url": "https://www.cnbc.com/2025/05/22/trump-gift-jet-qatar-l3harris.html",
"p... | [
{
"news_idx": 0,
"score": 0.1
},
{
"news_idx": 1,
"score": 0.3
},
{
"news_idx": 2,
"score": 0
},
{
"news_idx": 3,
"score": 0.1
},
{
"news_idx": 4,
"score": 0.2
},
{
"news_idx": 5,
"score": 0.15
},
{
"news_idx": 6,
"score": 0.1
},
{
... |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1748404800,
"p": 0.8973
} | {
"t": 1748577600,
"p": 0.8011
} | 0.0962 | 7.96 | 1,746,417,600 | 1,748,577,600 | [{"t":1746417600.0,"p":0.9109},{"t":1746504000.0,"p":0.91},{"t":1746590400.0,"p":0.8036},{"t":174667(...TRUNCATED) | [{"title":"‘No MAGA left behind’: Trump’s pardons get even more political","description":"As P(...TRUNCATED) | [{"news_idx":0,"score":0.1},{"news_idx":1,"score":0.1},{"news_idx":2,"score":0.1},{"news_idx":3,"sco(...TRUNCATED) |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | breakpoint | {
"t": 1749873600,
"p": 0.8015
} | {
"t": 1750219200,
"p": 0.7364
} | 0.0651 | 4.83 | 1,747,022,400 | 1,750,219,200 | [{"t":1747022400.0,"p":0.8015},{"t":1747108800.0,"p":0.7961},{"t":1747281600.0,"p":0.79},{"t":174736(...TRUNCATED) | [{"title":"Trump warns 'everyone should immediately evacuate Tehran' in ominous Truth Social post","(...TRUNCATED) | [{"news_idx":0,"score":0.1},{"news_idx":1,"score":0.1},{"news_idx":2,"score":0.1},{"news_idx":3,"sco(...TRUNCATED) |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | normal_point | {
"t": 1746676800,
"p": 0.8
} | {
"t": 1746849600,
"p": 0.81
} | 0.01 | 0.170609 | 1,743,307,200 | 1,746,849,600 | [{"t":1743307200.0,"p":0.7824},{"t":1743825600.0,"p":0.77},{"t":1743998400.0,"p":0.8657},{"t":174434(...TRUNCATED) | [{"title":"Key prosecutor in Trump’s classified documents case to testify in front of House Judici(...TRUNCATED) | [{"news_idx":0,"score":0.0},{"news_idx":1,"score":0.0},{"news_idx":2,"score":0.0},{"news_idx":3,"sco(...TRUNCATED) |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | normal_point | {
"t": 1747108800,
"p": 0.7961
} | {
"t": 1747281600,
"p": 0.79
} | -0.0061 | 0.10941 | 1,744,430,400 | 1,747,281,600 | [{"t":1744430400.0,"p":0.748},{"t":1745121600.0,"p":0.74},{"t":1745294400.0,"p":0.74},{"t":174598560(...TRUNCATED) | [{"title":"Trump administration officials say Secret Service is investigating Comey's '86 47' social(...TRUNCATED) | [{"news_idx":0,"score":0.0},{"news_idx":1,"score":0.0},{"news_idx":2,"score":0.0},{"news_idx":3,"sco(...TRUNCATED) |
KXTRUMPSETTLECBS-26 | KXTRUMPSETTLECBS-26 | Will Trump settle his lawsuit with CBS before 2026? | [
"Politics"
] | normal_point | {
"t": 1746936000,
"p": 0.8036
} | {
"t": 1747022400,
"p": 0.8015
} | -0.0021 | 0.037008 | 1,743,998,400 | 1,747,022,400 | [{"t":1743998400.0,"p":0.8657},{"t":1744344000.0,"p":0.84},{"t":1744430400.0,"p":0.748},{"t":1745121(...TRUNCATED) | [{"title":"No, Pres. Trump: Qatar's 'Palace in the Sky' Jet isn't a 'free gift'","description":"Pres(...TRUNCATED) | [{"news_idx":0,"score":0.0},{"news_idx":1,"score":0.0},{"news_idx":2,"score":0.0},{"news_idx":3,"sco(...TRUNCATED) |
KXNORDSTREAM2-26-JAN01 | KXNORDSTREAM2-26 | Will NordStream 2 enter service before Jan 1, 2026? | [
"Politics"
] | breakpoint | {
"t": 1736312400,
"p": 0.3341
} | {
"t": 1737522000,
"p": 0.41
} | 0.0759 | 6.43 | 1,732,424,400 | 1,737,522,000 | [{"t":1732424400.0,"p":0.4785},{"t":1732770000.0,"p":0.5553},{"t":1733202000.0,"p":0.2224},{"t":1733(...TRUNCATED) | [{"title":"Trump to sign slew of executive orders on Day 1. What are his priorities?","description":(...TRUNCATED) | [{"news_idx":0,"score":0.8},{"news_idx":1,"score":0.85},{"news_idx":2,"score":0.7},{"news_idx":3,"sc(...TRUNCATED) |
End of preview.
No dataset card yet
- Downloads last month
- 2,201