Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "tsfile/tsfile_py_cpp.pyx", line 567, in tsfile.tsfile_py_cpp.tsfile_reader_new_c
              tsfile.exceptions.FileOpenError: 28: 
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 271, in _split_generators
                  scan = self._scan_metadata(all_files)
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 318, in _scan_metadata
                  with self._open_reader(file) as reader:
                       ~~~~~~~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 742, in _open_reader
                  return TsFileReader(file)
                File "tsfile/tsfile_reader.pyx", line 323, in tsfile.tsfile_reader.TsFileReaderPy.__init__
              SystemError: <class '_weakrefset.WeakSet'> returned a result with an exception set
              
              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/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

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.

S&P 500 Stock Market (TsFile)

This dataset is an Apache TsFile conversion of Adilbai/stock-dataset.

Modalities: Time-series.

Overview

  • Daily observations of S&P 500 companies with 73 engineered technical features over 5 years (620,095 rows).

  • OHLCV plus moving averages, RSI, and other technical indicators.

  • Each ticker is a device identified by the Ticker TAG.

  • Converted observations: 620,095 rows across 1 TsFile file(s)

  • Source format: parquet

TsFile schema

  • Time β€” source Date (datetime), converted to INT64 milliseconds.
Column Role Type Meaning
Time TIME INT64 (ms) sample timestamp
Ticker TAG STRING ticker symbol
Open FIELD FLOAT open
High FIELD FLOAT high
Low FIELD FLOAT low
Close FIELD FLOAT close
Volume FIELD FLOAT volume
Dividends FIELD FLOAT β€”
Stock_Splits FIELD FLOAT β€”
SMA_5 FIELD FLOAT β€”
SMA_10 FIELD FLOAT β€”
SMA_20 FIELD FLOAT β€”
SMA_50 FIELD FLOAT β€”
EMA_12 FIELD FLOAT β€”
EMA_26 FIELD FLOAT β€”
MACD FIELD FLOAT β€”
MACD_Signal FIELD FLOAT β€”
MACD_Histogram FIELD FLOAT β€”
RSI FIELD FLOAT β€”
BB_Middle FIELD FLOAT β€”
BB_Upper FIELD FLOAT β€”
BB_Lower FIELD FLOAT β€”
BB_Width FIELD FLOAT β€”
BB_Position FIELD FLOAT β€”
Volatility FIELD FLOAT β€”
Price_Change FIELD FLOAT β€”
Price_Change_5d FIELD FLOAT β€”
High_Low_Ratio FIELD FLOAT β€”
Open_Close_Ratio FIELD FLOAT β€”
Volume_SMA FIELD FLOAT β€”
Volume_Ratio FIELD FLOAT β€”
Close_lag_1 FIELD FLOAT β€”
Close_lag_2 FIELD FLOAT β€”
Close_lag_3 FIELD FLOAT β€”
Close_lag_5 FIELD FLOAT β€”
Close_lag_10 FIELD FLOAT β€”
Volume_lag_1 FIELD FLOAT β€”
Volume_lag_2 FIELD FLOAT β€”
Volume_lag_3 FIELD FLOAT β€”
Volume_lag_5 FIELD FLOAT β€”
Volume_lag_10 FIELD FLOAT β€”
Price_Change_lag_1 FIELD FLOAT β€”
Price_Change_lag_2 FIELD FLOAT β€”
Price_Change_lag_3 FIELD FLOAT β€”
Price_Change_lag_5 FIELD FLOAT β€”
Price_Change_lag_10 FIELD FLOAT β€”
RSI_lag_1 FIELD FLOAT β€”
RSI_lag_2 FIELD FLOAT β€”
RSI_lag_3 FIELD FLOAT β€”
RSI_lag_5 FIELD FLOAT β€”
RSI_lag_10 FIELD FLOAT β€”
MACD_lag_1 FIELD FLOAT β€”
MACD_lag_2 FIELD FLOAT β€”
MACD_lag_3 FIELD FLOAT β€”
MACD_lag_5 FIELD FLOAT β€”
MACD_lag_10 FIELD FLOAT β€”
Volatility_lag_1 FIELD FLOAT β€”
Volatility_lag_2 FIELD FLOAT β€”
Volatility_lag_3 FIELD FLOAT β€”
Volatility_lag_5 FIELD FLOAT β€”
Volatility_lag_10 FIELD FLOAT β€”
Future_Return_1d FIELD FLOAT β€”
Future_Up_1d FIELD FLOAT β€”
Future_Category_1d FIELD FLOAT β€”
Future_Return_5d FIELD FLOAT β€”
Future_Up_5d FIELD FLOAT β€”
Future_Category_5d FIELD FLOAT β€”
Future_Return_10d FIELD FLOAT β€”
Future_Up_10d FIELD FLOAT β€”
Future_Category_10d FIELD FLOAT β€”
Future_Return_20d FIELD FLOAT β€”
Future_Up_20d FIELD FLOAT β€”
Future_Category_20d FIELD FLOAT β€”

Conversion notes

  • Ticker kept as TAG; 72 numeric features kept as FLOAT/INT64 FIELDs.

Source & license

Usage

Install the Apache TsFile Python SDK (pip install tsfile) and read a converted file:

from pathlib import Path
from tsfile import TsFileReader

path = Path("stock_dataset.tsfile")
with TsFileReader(str(path)) as reader:
    schemas = reader.get_all_table_schemas()
    print("tables:", list(schemas))
    table_name = next(iter(schemas))
    table = schemas[table_name]
    columns = [column.get_column_name() for column in table.get_columns()]
    print("columns:", columns)
    field_names = [
        column.get_column_name()
        for column in table.get_columns()
        if column.get_column_name() not in {"Time", "time"}
    ]
    if field_names:
        with reader.query_table(table_name, field_names[:3], batch_size=1024) as result:
            batch = result.read_arrow_batch()
            if batch is not None:
                print(batch.to_pandas().head())
Downloads last month
-