Dataset Viewer
Full Screen
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      JSON parse error: Column() changed from object to string in row 0
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 160, in _generate_tables
                  df = pandas_read_json(f)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
                  return pd.read_json(path_or_buf, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 815, in read_json
                  return json_reader.read()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1025, in read
                  obj = self._get_object_parser(self.data)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1051, in _get_object_parser
                  obj = FrameParser(json, **kwargs).parse()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1187, in parse
                  self._parse()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1403, in _parse
                  ujson_loads(json, precise_float=self.precise_float), dtype=None
              ValueError: Trailing data
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 233, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2998, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1918, in _head
                  return _examples_to_batch(list(self.take(n)))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2093, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1576, in __iter__
                  for key_example in islice(self.ex_iterable, self.n - ex_iterable_num_taken):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 279, in __iter__
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 163, in _generate_tables
                  raise e
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 137, in _generate_tables
                  pa_table = paj.read_json(
                File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0

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.

Jsonl version of the original dataset.

Original Dataset : https://huggingface.co/datasets/danidanou/Bloomberg_Financial_News

Below is the readme that was directly copied from the original database's readme.

Dataset Card for Processed Financial News Articles (2006-2013)

This dataset consists of 446762 financial news articles originally sourced from Bloomberg, covering the period from 2006 to 2013. It includes processed texts suitable for use in NLP and financial trend analysis.

Dataset Details

Dataset Description

The dataset contains English-language financial news articles collected from Bloomberg. It is designed for natural language processing tasks, financial analysis, and trend detection during the specified period.

  • Curated by: Dan Benayoun
  • Shared by: Dan Benayoun
  • Language(s) (NLP): English
  • License: Apache-2.0

Dataset Sources

Uses

Direct Use

This dataset is intended for academic research, algorithm training, and development of NLP models that require financial context, particularly for sentiment analysis, event detection, and trend tracking over time.

Out-of-Scope Use

The dataset should not be used for real-time financial decision-making or trading due to its historical nature and the inherent biases of media reporting.

Dataset Structure

Data Instances

A typical instance includes fields like Headline, Journalists, Date, Link, Article.

Data Splits

The dataset is not divided into standard training, validation, or test splits.

Dataset Creation

Curation Rationale

This dataset was curated to assist researchers and developers in analyzing financial news trends and patterns across several years.

Source Data

Data Collection and Processing

The articles were originally scraped from Bloomberg and processed for easier consumption in NLP tasks.

Who are the source data producers?

The text of the articles is produced by journalists and financial analysts at Bloomberg.

Annotations

Personal and Sensitive Information

The dataset contains information that could be considered personal or sensitive as it includes names of people, companies, and possibly their financial data.

Bias, Risks, and Limitations

The dataset reflects the potential biases of Bloomberg's reporting style and period-specific geopolitical influences on financial reporting.

Recommendations

Care should be taken to account for these biases when using the dataset for modeling or analysis.

Citation

BibTeX:

@misc{processed_bloomberg_financial_news_2006_2013,
  author = {Dan Benayoun},
  title = {Processed Dataset of Financial News Articles from Bloomberg (2006-2013)},
  year = {2024},
  publisher = {HuggingFace},
}
@misc{BloombergReutersDataset2015,
  author = {Philippe Remy, Xiao Ding},
  title = {Financial News Dataset from Bloomberg and Reuters},
  year = {2015},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/philipperemy/financial-news-dataset}}
}
Downloads last month
15