THUgewu commited on
Commit
c8a3ba6
·
verified ·
1 Parent(s): 66aeb45

Add TsFile (converted from jwlutz/knowable)

Browse files
Files changed (1) hide show
  1. README.md +15 -15
README.md CHANGED
@@ -1,9 +1,12 @@
1
  ---
 
 
2
  tags:
3
  - tsfile
4
  - timeseries
5
- - format:tsfile
6
  - time-series
 
 
7
  configs:
8
  - config_name: default
9
  data_files:
@@ -69,25 +72,17 @@ configs:
69
  path: senate_filings_9.tsfile
70
  ---
71
 
72
- # knowable
73
-
74
- Converted from the Hugging Face dataset [`jwlutz/knowable`](https://huggingface.co/datasets/jwlutz/knowable) to Apache TsFile format.
75
-
76
- ## Source Dataset
77
 
78
- - **Original dataset:** [`jwlutz/knowable`](https://huggingface.co/datasets/jwlutz/knowable)
79
- - **Authors:** jwlutz
80
 
81
- ## Conversion Notes
 
82
 
83
- - Conversion mode: `script`
84
- - Time precision: `ms`
85
- - TsFile data files: `['congress_trades_2.tsfile', 'congress_trades_3.tsfile', 'congress_trades_4.tsfile', 'congress_trades_5.tsfile', 'congress_trades_6.tsfile', 'congress_trades_7.tsfile', 'congress_trades_8.tsfile', 'house_filings_1.tsfile', 'house_filings_2.tsfile', 'house_filings_4.tsfile', 'house_filings_5.tsfile', 'house_filings_6.tsfile', 'house_filings_8.tsfile', 'house_filings_9.tsfile', 'insider_transactions_2.tsfile', 'insider_transactions_3.tsfile', 'insider_transactions_5.tsfile', 'insider_transactions_6.tsfile', 'insider_transactions_7.tsfile', 'insider_transactions_8.tsfile', 'insider_transactions_9.tsfile', 'senate_filings_1.tsfile', 'senate_filings_2.tsfile', 'senate_filings_3.tsfile', 'senate_filings_4.tsfile', 'senate_filings_5.tsfile', 'senate_filings_6.tsfile', 'senate_filings_7.tsfile', 'senate_filings_8.tsfile', 'senate_filings_9.tsfile']`
86
- - Converter: `scripts/converters/multi_table_scalar.py`
87
 
88
  ## Usage
89
 
90
-
91
  Install the Apache TsFile Python SDK (`pip install tsfile`) and read a converted file:
92
 
93
  ```python
@@ -112,4 +107,9 @@ with TsFileReader(str(path)) as reader:
112
  batch = result.read_arrow_batch()
113
  if batch is not None:
114
  print(batch.to_pandas().head())
115
- ```
 
 
 
 
 
 
1
  ---
2
+ task_categories:
3
+ - time-series-forecasting
4
  tags:
5
  - tsfile
6
  - timeseries
 
7
  - time-series
8
+ - format:tsfile
9
+ pretty_name: knowable
10
  configs:
11
  - config_name: default
12
  data_files:
 
72
  path: senate_filings_9.tsfile
73
  ---
74
 
75
+ # knowable (TsFile)
 
 
 
 
76
 
77
+ Apache TsFile version of [`jwlutz/knowable`](https://huggingface.co/datasets/jwlutz/knowable).
 
78
 
79
+ - **Converted rows:** 2,986,261
80
+ - **Data files:** `['congress_trades_2.tsfile', 'congress_trades_3.tsfile', 'congress_trades_4.tsfile', 'congress_trades_5.tsfile', 'congress_trades_6.tsfile', 'congress_trades_7.tsfile', 'congress_trades_8.tsfile', 'house_filings_1.tsfile', 'house_filings_2.tsfile', 'house_filings_4.tsfile', 'house_filings_5.tsfile', 'house_filings_6.tsfile', 'house_filings_8.tsfile', 'house_filings_9.tsfile', 'insider_transactions_2.tsfile', 'insider_transactions_3.tsfile', 'insider_transactions_5.tsfile', 'insider_transactions_6.tsfile', 'insider_transactions_7.tsfile', 'insider_transactions_8.tsfile', 'insider_transactions_9.tsfile', 'senate_filings_1.tsfile', 'senate_filings_2.tsfile', 'senate_filings_3.tsfile', 'senate_filings_4.tsfile', 'senate_filings_5.tsfile', 'senate_filings_6.tsfile', 'senate_filings_7.tsfile', 'senate_filings_8.tsfile', 'senate_filings_9.tsfile']`
81
 
82
+ The `fund_holdings` table (~890 MB per daily release) is not included; converted tables are congress_trades, insider_transactions, house_filings and senate_filings. Overlapping daily releases are deduplicated.
 
 
 
83
 
84
  ## Usage
85
 
 
86
  Install the Apache TsFile Python SDK (`pip install tsfile`) and read a converted file:
87
 
88
  ```python
 
107
  batch = result.read_arrow_batch()
108
  if batch is not None:
109
  print(batch.to_pandas().head())
110
+ ```
111
+
112
+ ## Source & license
113
+
114
+ - Original dataset: https://huggingface.co/datasets/jwlutz/knowable
115
+ - License: not declared by the original dataset; please defer to the original.