The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
dataset: string
files: struct<events.json: struct<bytes: int64, projection_version: string, revision_id: string, sha256: st (... 233 chars omitted)
child 0, events.json: struct<bytes: int64, projection_version: string, revision_id: string, sha256: string, source_scope: (... 47 chars omitted)
child 0, bytes: int64
child 1, projection_version: string
child 2, revision_id: string
child 3, sha256: string
child 4, source_scope: struct<end: timestamp[s], start: timestamp[s]>
child 0, end: timestamp[s]
child 1, start: timestamp[s]
child 1, nyse_sessions.json: struct<bytes: int64, coverage: struct<end: timestamp[s], start: timestamp[s]>, projection_version: s (... 43 chars omitted)
child 0, bytes: int64
child 1, coverage: struct<end: timestamp[s], start: timestamp[s]>
child 0, end: timestamp[s]
child 1, start: timestamp[s]
child 2, projection_version: string
child 3, revision_id: string
child 4, sha256: string
schema_version: int64
records: null
projection_version: string
meta: struct<calendar_schema_version: int64, empty_is_valid: bool, event_count: int64, input_metadata: str (... 314 chars omitted)
child 0, calendar_schema_version: int64
child 1, empty_is_valid: bool
child 2, event_count: int64
child 3, input_metadata: struct<display_timezone: string, import_format: string, imported_at: timestamp[s], source_as_of: tim (... 154 chars omitted)
child 0, display_timezone: string
child 1, import_format: string
child 2, imported_at: timestamp[s]
child 3, source_as_of: timestamp[s]
child 4, source_scope_end: timestamp[s]
child 5, source_scope_start: timestamp[s]
child 6, source_sha256: string
child 7, source_sha256_basis: string
child 8, updated_at_basis: string
child 4, revision_id: string
child 5, scope: string
child 6, updated_at_basis: string
to
{'meta': {'calendar_schema_version': Value('int64'), 'empty_is_valid': Value('bool'), 'event_count': Value('int64'), 'input_metadata': {'display_timezone': Value('string'), 'import_format': Value('string'), 'imported_at': Value('timestamp[s]'), 'source_as_of': Value('timestamp[s]'), 'source_scope_end': Value('timestamp[s]'), 'source_scope_start': Value('timestamp[s]'), 'source_sha256': Value('string'), 'source_sha256_basis': Value('string'), 'updated_at_basis': Value('string')}, 'revision_id': Value('string'), 'scope': Value('string'), 'updated_at_basis': Value('string')}, 'projection_version': Value('string'), 'records': List({'event_at': Value('timestamp[s]'), 'id': Value('string'), 'kind': Value('string'), 'metadata': {'provenance': {'url': Value('string')}, 'revision_id': Value('string'), 'updated_at': Value('timestamp[s]'), 'updated_at_basis': Value('string')}, 'observed_at': Value('null'), 'published_at': Value('null'), 'time_basis': Value('string'), 'time_precision': Value('string'), 'values': {'category': Value('string'), 'context': Json(decode=True), 'origin': Value('string'), 'schedule': Json(decode=True), 'schedule_certainty': Value('string'), 'status': Value('string'), 'title': Value('string')}})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
dataset: string
files: struct<events.json: struct<bytes: int64, projection_version: string, revision_id: string, sha256: st (... 233 chars omitted)
child 0, events.json: struct<bytes: int64, projection_version: string, revision_id: string, sha256: string, source_scope: (... 47 chars omitted)
child 0, bytes: int64
child 1, projection_version: string
child 2, revision_id: string
child 3, sha256: string
child 4, source_scope: struct<end: timestamp[s], start: timestamp[s]>
child 0, end: timestamp[s]
child 1, start: timestamp[s]
child 1, nyse_sessions.json: struct<bytes: int64, coverage: struct<end: timestamp[s], start: timestamp[s]>, projection_version: s (... 43 chars omitted)
child 0, bytes: int64
child 1, coverage: struct<end: timestamp[s], start: timestamp[s]>
child 0, end: timestamp[s]
child 1, start: timestamp[s]
child 2, projection_version: string
child 3, revision_id: string
child 4, sha256: string
schema_version: int64
records: null
projection_version: string
meta: struct<calendar_schema_version: int64, empty_is_valid: bool, event_count: int64, input_metadata: str (... 314 chars omitted)
child 0, calendar_schema_version: int64
child 1, empty_is_valid: bool
child 2, event_count: int64
child 3, input_metadata: struct<display_timezone: string, import_format: string, imported_at: timestamp[s], source_as_of: tim (... 154 chars omitted)
child 0, display_timezone: string
child 1, import_format: string
child 2, imported_at: timestamp[s]
child 3, source_as_of: timestamp[s]
child 4, source_scope_end: timestamp[s]
child 5, source_scope_start: timestamp[s]
child 6, source_sha256: string
child 7, source_sha256_basis: string
child 8, updated_at_basis: string
child 4, revision_id: string
child 5, scope: string
child 6, updated_at_basis: string
to
{'meta': {'calendar_schema_version': Value('int64'), 'empty_is_valid': Value('bool'), 'event_count': Value('int64'), 'input_metadata': {'display_timezone': Value('string'), 'import_format': Value('string'), 'imported_at': Value('timestamp[s]'), 'source_as_of': Value('timestamp[s]'), 'source_scope_end': Value('timestamp[s]'), 'source_scope_start': Value('timestamp[s]'), 'source_sha256': Value('string'), 'source_sha256_basis': Value('string'), 'updated_at_basis': Value('string')}, 'revision_id': Value('string'), 'scope': Value('string'), 'updated_at_basis': Value('string')}, 'projection_version': Value('string'), 'records': List({'event_at': Value('timestamp[s]'), 'id': Value('string'), 'kind': Value('string'), 'metadata': {'provenance': {'url': Value('string')}, 'revision_id': Value('string'), 'updated_at': Value('timestamp[s]'), 'updated_at_basis': Value('string')}, 'observed_at': Value('null'), 'published_at': Value('null'), 'time_basis': Value('string'), 'time_precision': Value('string'), 'values': {'category': Value('string'), 'context': Json(decode=True), 'origin': Value('string'), 'schedule': Json(decode=True), 'schedule_certainty': Value('string'), 'status': Value('string'), 'title': Value('string')}})}
because column names don't matchNeed 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 calendar
This dataset contains NYSE core equity sessions and the research event calendar curated in field-data-api.
nyse_sessions.jsonis amarket_sessions/1object withprojection_version,metaandrecords. Each session hasdate(New York civil date),weekday,open_atandclose_at(UTC), andkind(regularorearly_close). Early closes also haveprovenance. Metadata includes the exchange, timezone, regular hours, dated closures, coverage and content revision.events.jsonis acalendar/1object withprojection_version,metaandrecords. Each record hasid,kind,observed_at,published_at,event_at,time_precision,time_basis,valuesandmetadata. Values carry title, category, origin, status, schedule and optional certainty and context. Metadata carries provenance and version information. Schedules use an instant, date or date range.manifest.jsonlists each projection's SHA-256, byte count, projection version, content revision and date bounds. This README is the dataset card.
NYSE session coverage is 2021-01-01 to 2029-01-01 (exclusive). Dates outside coverage are not covered. The event calendar's supplied source scope is 2026-10-23 through 2027-12-31, inclusive. An event's listed date is a source assertion, not a guarantee.
Session sources include NYSE holidays and trading hours, NYSE yearly trading calendars, and NYSE notices. Each event names its sources in its provenance and supporting references, including the Federal Reserve, the US Treasury and CME Group.
Read a pinned revision by replacing <rev> with the full dataset commit:
https://huggingface.co/datasets/vaquum/market_calendar/resolve/<rev>/nyse_sessions.json
- Downloads last month
- 99