Dataset Preview
Full Screen
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 ({'Updated Question'})

This happened while the json dataset builder was generating data using

hf://datasets/kensho/DocFinQA/test.json (at revision 953038005992608415f123e2d2ef640c06dcd8cb)

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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Answer: string
              Context: string
              Updated Question: string
              Program: string
              Question: string
              to
              {'Context': Value(dtype='string', id=None), 'Question': Value(dtype='string', id=None), 'Program': Value(dtype='string', id=None), 'Answer': Value(dtype='string', id=None)}
              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 1534, 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 1155, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, 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 ({'Updated Question'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/kensho/DocFinQA/test.json (at revision 953038005992608415f123e2d2ef640c06dcd8cb)
              
              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.

Context
string
Question
string
Answer
string
Program
string
"# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n# (Mark\tOne)\n\nþ ANNUAL\tREPORT\t(...TRUNCATED)
what is the the interest expense in 2009?
380
"interest_expense = 100 / 100\nannual_interest_expense = 3.8 / interest_expense\nanswer = annual_int(...TRUNCATED)
"# UNITED\tSTATES\tSECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n# ANNUAL\tREPORT\tPURSUANT\tTO\tSECTION\(...TRUNCATED)
what was the total operating expenses in 2018 in millions
41932
"# UNITED\tSTATES\tSECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n# (Mark\tOne)\n\n# ANNUAL\tREPORT\tPURSU(...TRUNCATED)
"what percentage of total cash and investments as of dec . 29 2012 was comprised of available-for-sa(...TRUNCATED)
53%
"available_for_sale_investments = 14001\ntotal_cash_and_investments = 26302\npercent_available_for_s(...TRUNCATED)
"# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n# (Mark\tOne)\n\n# X ANNUAL\tREPORT\(...TRUNCATED)
what is the growth rate in net revenue in 2008?
-3.2%
"net_revenue_2008 = 959.2\nnet_revenue_2007 = 991.1\nchange = net_revenue_2008 - net_revenue_2007\np(...TRUNCATED)
"10-K\t1\tcitigroup_10k.htm\tANNUAL\tREPORT\n\n# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMM(...TRUNCATED)
what was the growth rate of the loans held-for-sale that are carried at locom from 2009 to 2010
56.25%
"Table\tof\tContents\n\n# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\nx Annual\trep(...TRUNCATED)
"for acquired customer-related and network location intangibles , what is the expected annual amorti(...TRUNCATED)
7.4
" total_intangibles = 75.0 + 72.7\n amortization_period = 20\n expected_annual_amortization_expens(...TRUNCATED)
"# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\nR ANNUAL\tREPORT\tPURSUANT\tTO\tSECT(...TRUNCATED)
in 2019 what was the percent of the net earnings to the net cash provided by operating activities
63.6%
"net_earnings = 1786.2\nnet_cash = 2807.0\npercent_cash = net_earnings / net_cash\nanswer = percent_(...TRUNCATED)
"Table\tof\tContents\n\n# UNITED\tSTATES\tSECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\nx ANNUAL\tREPORT\(...TRUNCATED)
what percentage decrease occurred from 2011-2012 for deferred acquisition payments?
96.55%
" deferred_acquisition_payments_decrease = 34.8 - 1.2\n percent_change = deferred_acquisition_pa(...TRUNCATED)
"Table\tof\tContents\n\n# UNITED\tSTATES\tSECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n(Mark\tOne)\n\n# (...TRUNCATED)
"how is net change in cash from financing activity affected by the share repurchase during december (...TRUNCATED)
56.6
" shares_repurchased = 1327657\n price = 42.61\n cash_used = shares_repurchased * price / 1000000\n(...TRUNCATED)
"Table\tof\tContents\n\n# UNITED\tSTATES\n\n# SECURITIES\tAND\tEXCHANGE\tCOMMISSION\n\n# ANNUAL\tREP(...TRUNCATED)
what is the change in net assets from 2007 to 2008?
6.9
net_assets_change = 2309.9 - 2303.0 answer = net_assets_change
End of preview.
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
70