File size: 4,676 Bytes
11aebd2
87cb0b8
 
 
 
 
 
 
 
 
 
 
 
 
a740501
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11aebd2
87cb0b8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
---
license: cc-by-4.0
language:
- en
task_categories:
- table-question-answering
- text-classification
pretty_name: ENTRANT
tags:
- financial
- sec-edgar
- tables
- annual-report
- structured-data
configs:
- config_name: "18-K"
  data_files:
  - split: train
    path: 18-K/train-*.parquet
- config_name: "485BPOS"
  data_files:
  - split: train
    path: 485BPOS/train-*.parquet
- config_name: "497"
  data_files:
  - split: train
    path: 497/train-*.parquet
- config_name: "10-KT"
  data_files:
  - split: train
    path: 10-KT/train-*.parquet
- config_name: "S-1"
  data_files:
  - split: train
    path: S-1/train-*.parquet
- config_name: "8-K"
  data_files:
  - split: train
    path: 8-K/train-*.parquet
- config_name: "20-F"
  data_files:
  - split: train
    path: 20-F/train-*.parquet
- config_name: "S-4"
  data_files:
  - split: train
    path: S-4/train-*.parquet
- config_name: "10-K"
  data_files:
  - split: train
    path: 10-K/train-*.parquet
- config_name: "10-Q"
  data_files:
  - split: train
    path: 10-Q/train-*.parquet
---

# ENTRANT

A HuggingFace mirror of the [ENTRANT](https://zenodo.org/records/10667088) dataset
(Zenodo record 10667088, CC-BY-4.0): 6.7 million structured financial tables
extracted from ~330,000 SEC EDGAR filings spanning 10 filing types.

Original paper: Gialitsis et al., *Scientific Data* 2024,
[10.1038/s41597-024-03605-5](https://doi.org/10.1038/s41597-024-03605-5).

## License

CC-BY-4.0 (dataset annotations and structural metadata).

The underlying source documents are SEC EDGAR filings -- publicly filed
corporate documents. The factual content of financial statements is not
copyrightable under *Feist v. Rural Telephone Service* (1991); the
Nature Scientific Data publication provides strong institutional backing
for the CC-BY-4.0 claim on this corpus.

Cite the original ENTRANT paper if you use this dataset (see Citation below).

## Configs

One HuggingFace config per SEC filing type. Each config is a single `train`
split (the authors did not define evaluation splits; partition as needed).

| Config | Filing type | Description |
|--------|-------------|-------------|
| `10-K` | Annual report | Large accelerated filers, ~5.9 GB ZIP |
| `10-Q` | Quarterly report | Most common filing, ~9.4 GB ZIP |
| `20-F` | Foreign annual report | Non-US issuers, ~556 MB ZIP |
| `S-1` | IPO registration | Initial public offerings, ~179 MB ZIP |
| `S-4` | Merger/acquisition | M&A registrations, ~886 MB ZIP |
| `8-K` | Current report | Material events, ~347 MB ZIP |
| `497` | Mutual fund prospectus | Investment companies, ~29 MB ZIP |
| `485BPOS` | Fund registration | Post-effective amendments, ~19 MB ZIP |
| `10-KT` | Transition annual report | Fiscal-year change filers, ~18 MB ZIP |
| `18-K` | Foreign government annual | Sovereign / foreign government, ~37 KB ZIP |

## Schema

| Field | Type | Description |
|-------|------|-------------|
| `table_id` | string | `{cik}_{accession_number}_{table_index}` |
| `filing_type` | string | SEC filing type (e.g. `10-K`) |
| `cik` | string | SEC Central Index Key |
| `filing_year` | string | Year of filing |
| `accession_number` | string | SEC accession number |
| `title` | string | Table title (may be empty) |
| `n_rows` | int32 | Number of rows (from RangeAddress) |
| `n_cols` | int32 | Number of columns (from RangeAddress) |
| `n_header_rows` | int32 | Number of top header rows |
| `n_header_cols` | int32 | Number of left header columns |
| `html` | string | Table rendered as HTML with rowspan/colspan |
| `cells` | list[struct] | Per-cell records (anchor cells only; see below) |
| `language` | string | Language of content |

**Cell struct fields:** `row`, `col`, `rowspan`, `colspan` (int32);
`text` (string); `is_header` (bool, top header); `is_attribute` (bool, left header).
Only anchor cells (top-left corner of merged spans) are included;
interior cells of a merged region are omitted.

## Usage

```python
from datasets import load_dataset

# Stream annual reports without downloading all 17 GB
ds = load_dataset(
    "rootsautomation/ENTRANT",
    "10-K",
    split="train",
    streaming=True,
)
for row in ds:
    print(row["title"], row["n_rows"], row["n_cols"])
    break

# Load a smaller config fully into memory
ds_18k = load_dataset("rootsautomation/ENTRANT", "18-K", split="train")
```

## Citation

```bibtex
@article{gialitsis2024entrant,
  title   = {ENTRANT: A Large Financial Dataset for Table Understanding},
  author  = {Gialitsis, Nikolaos and Tzoumerkas, Konstantinos
             and Dalamagas, Theodore},
  journal = {Scientific Data},
  volume  = {11},
  year    = {2024},
  doi     = {10.1038/s41597-024-03605-5},
}
```