Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, 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 956, 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 1401, 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 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

csv
unknown
__key__
string
__url__
string
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1990
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1991
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1992
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1993
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1994
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1995
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1996
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1997
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
[ 68, 97, 116, 101, 44, 34, 51, 32, 77, 111, 34, 44, 34, 54, 32, 77, 111, 34, 44, 34, 49, 32, 89, 114, 34, 44, 34, 50, 32, 89, 114, 34, 44, 34, 51, 32, 89, 114, 34, 44, 34, 53, 32, 89, 114, 34, 44, 34, 55, 32, 89, 11...
yield_curve_1998
hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/treasury/0000.tar
"RGF0ZSwiMyBNbyIsIjYgTW8iLCIxIFlyIiwiMiBZciIsIjMgWXIiLCI1IFlyIiwiNyBZciIsIjEwIFlyIiwiMjAgWXIiLCIzMCB(...TRUNCATED)
yield_curve_1999
"hf://datasets/dragonlimited/Dragon-Finance-Rates@b53de0eb1599a8e43c187b0a15ecb569cbd35297/data/trea(...TRUNCATED)
End of preview.

Dragon Finance — rates

US sovereign rates and public finance — the risk-free curve and federal cash flows.

Part of the Dragon Finance Corpus — US public financial data from federal and official sources only. Nothing licensed, paywalled or registration-only.

Coverage

Yield curve Treasury daily yield curve, all maturities
Auctions TreasuryDirect auction results
Fiscal Treasury fiscal data: debt to the penny, average interest rates, interest expense, FX rates

Size

metric value
stored 687.8 KB
shards 3

Sources present

source jurisdiction data licence
US Treasury US daily yield curve public domain
treasurydirect n/a n/a n/a

What you can do with it

  • Build discount curves
  • Track issuance and auction demand
  • Monitor federal interest cost

For engineers

Data is stored as tar shards (the hub caps a directory at 10,000 files and these tiers run to millions). Members keep their original names and relative paths.

import tarfile
with tarfile.open("0000.tar") as tf:
    print(tf.getnames()[:5])
    tf.extractall("out/")
shard size
README.md 1.7 KB
data/treasury/0000.tar 675.8 KB
treasurydirect/auctions/0000.tar 10.2 KB

Every shard records its sha256 in the pipeline ledgers; shards are append-only, so a resumed run re-uploads only what changed. A shard with a failed member is never marked complete, so missed files are retried rather than dropped.

Downloads last month
-

Collection including dragonlimited/Dragon-Finance-Rates