Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: TypeError
Message: Couldn't cast array of type
struct<000001|NATIVE||zh|x: struct<saved_at: double, fp: string, payload: struct<ok: bool, generated_at: int64, cached: bool, elapsed_ms: int64, instrument: struct<raw: string, symbol: string, market: string, exchange: string, currency: string, exchange_name: string, exchange_name_en: string, name_hint: string>, gaps: null, source_depth: struct<locked: string, quarterly_have: int64, quarterly_need: int64, annual_have: int64, sources: list<item: string>>, currency: struct<native: string, display: string, rate: double, fx_source: string, fx_as_of: int64, fx_cross_check: list<item: null>, fx_agreeing_sources: list<item: string>>, quote: struct<symbol: string, name: string, name_en: string, currency: string, exchange: string, price: double, change: double, change_pct: double, prev_close: double, open: double, high: double, low: double, volume: double, avg_volume: double, market_cap: double, shares_outstanding: double, week52_high: double, week52_low: double, pe: double, forward_pe: double, pb: double, ps: null, peg: null, dividend_yield: double, payout_ratio: null, beta: null, eps_ttm: double, book_value_per_share: double, net_margin: double, debt_to_equity: double, current_ratio: null, quick_ratio: null, sector: string, industry: string, as_of: string, primary_source: string, source_count: int64, money: struct<price: double, prev_close: double, open: double, high: double, low: double, week52_high: double, week52_low: double, market_cap: double, change: double>>, fundamentals: st
...
cn: struct<label: string, label_cn: string>, akshare: struct<label: string, label_cn: string>, cnds: struct<label: string, label_cn: string>, ibkr: struct<label: string, label_cn: string>, schwab: struct<label: string, label_cn: string>, tiger: struct<label: string, label_cn: string>>, errors: struct<quote: struct<fmp: string, eastmoney: string>, fundamentals: struct<fmp: string>, history: struct<eastmoney: string, fmp: string>>, health: struct<quote: struct<failed: struct<>, degraded: list<item: string>>, fundamentals: struct<failed: struct<>, degraded: list<item: string>>, history: struct<failed: struct<>, degraded: list<item: string>>>, cross_check: struct<available: bool, market: string, pairs: list<item: struct<field: string, label_zh: string, label_en: string, a_source: string, b_source: string, a_currency: string, b_currency: string, a_periods: list<item: string>, b_periods: list<item: string>, compared: int64, only_a: list<item: string>, only_b: list<item: null>, worst_diff_pct: double, tol_agree_pct: double, tol_near_pct: double, periods: list<item: struct<year: string, a: double, b: double, diff_pct: double, verdict: string>>, verdict: string, agree: int64, near: int64, differ: int64, note_zh: string, note_en: string>>, affects_value: bool, counts: struct<differ: int64, near: int64, no_overlap: int64, currency: int64, agree: int64>, summary_zh: string, summary_en: string>, currency_notes: list<item: null>>, warnings: list<item: null>>>, 000001.SZ|NATIVE||zh|x: null>
to
{'000001.SZ|NATIVE||zh|x': {'saved_at': Value('float64'), 'fp': Value('string'), 'payload': {'ok': Value('bool'), 'generated_at': Value('int64'), 'cached': Value('bool'), 'elapsed_ms': Value('int64'), 'instrument': {'raw': Value('string'), 'symbol': Value('string'), 'market': Value('string'), 'exchange': Value('string'), 'currency': Value('string'), 'exchange_name': Value('string'), 'exchange_name_en': Value('string'), 'name_hint': Value('string')}, 'gaps': Value('null'), 'source_depth': {'locked': Value('string'), 'quarterly_have': Value('int64'), 'quarterly_need': Value('int64'), 'annual_have': Value('int64'), 'sources': List(Value('string'))}, 'currency': {'native': Value('string'), 'display': Value('string'), 'rate': Value('float64'), 'fx_source': Value('string'), 'fx_as_of': Value('int64'), 'fx_cross_check': List(Value('null')), 'fx_agreeing_sources': List(Value('string'))}, 'quote': {'symbol': Value('string'), 'name': Value('string'), 'name_en': Value('string'), 'currency': Value('string'), 'exchange': Value('string'), 'price': Value('float64'), 'change': Value('float64'), 'change_pct': Value('float64'), 'prev_close': Value('float64'), 'open': Value('float64'), 'high': Value('float64'), 'low': Value('float64'), 'volume': Value('float64'), 'avg_volume': Value('float64'), 'market_cap': Value('float64'), 'shares_outstanding': Value('float64'), 'week52_high': Value('float64'), 'week52_low': Value('float64'), 'pe': Value('float64'), 'forward_pe': Value('float64'), 'pb': Valu
...
amentals': Json(decode=True), 'history': {'eastmoney': Value('string')}}, 'health': {'quote': {'failed': Json(decode=True), 'degraded': List(Value('string'))}, 'fundamentals': {'failed': Json(decode=True), 'degraded': List(Value('null'))}, 'history': {'failed': Json(decode=True), 'degraded': List(Value('string'))}}, 'cross_check': {'available': Value('bool'), 'market': Value('string'), 'pairs': List({'field': Value('string'), 'label_zh': Value('string'), 'label_en': Value('string'), 'a_source': Value('string'), 'b_source': Value('string'), 'a_currency': Value('string'), 'b_currency': Value('string'), 'a_periods': List(Value('string')), 'b_periods': List(Value('string')), 'compared': Value('int64'), 'only_a': List(Value('string')), 'only_b': List(Value('null')), 'worst_diff_pct': Value('float64'), 'tol_agree_pct': Value('float64'), 'tol_near_pct': Value('float64'), 'periods': List({'year': Value('string'), 'a': Value('float64'), 'b': Value('float64'), 'diff_pct': Value('float64'), 'verdict': Value('string')}), 'verdict': Value('string'), 'agree': Value('int64'), 'near': Value('int64'), 'differ': Value('int64'), 'note_zh': Value('string'), 'note_en': Value('string')}), 'affects_value': Value('bool'), 'counts': {'differ': Value('int64'), 'near': Value('int64'), 'no_overlap': Value('int64'), 'currency': Value('int64'), 'agree': Value('int64')}, 'summary_zh': Value('string'), 'summary_en': Value('string')}, 'currency_notes': List(Value('null'))}, 'warnings': List(Value('null'))}}}
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<000001|NATIVE||zh|x: struct<saved_at: double, fp: string, payload: struct<ok: bool, generated_at: int64, cached: bool, elapsed_ms: int64, instrument: struct<raw: string, symbol: string, market: string, exchange: string, currency: string, exchange_name: string, exchange_name_en: string, name_hint: string>, gaps: null, source_depth: struct<locked: string, quarterly_have: int64, quarterly_need: int64, annual_have: int64, sources: list<item: string>>, currency: struct<native: string, display: string, rate: double, fx_source: string, fx_as_of: int64, fx_cross_check: list<item: null>, fx_agreeing_sources: list<item: string>>, quote: struct<symbol: string, name: string, name_en: string, currency: string, exchange: string, price: double, change: double, change_pct: double, prev_close: double, open: double, high: double, low: double, volume: double, avg_volume: double, market_cap: double, shares_outstanding: double, week52_high: double, week52_low: double, pe: double, forward_pe: double, pb: double, ps: null, peg: null, dividend_yield: double, payout_ratio: null, beta: null, eps_ttm: double, book_value_per_share: double, net_margin: double, debt_to_equity: double, current_ratio: null, quick_ratio: null, sector: string, industry: string, as_of: string, primary_source: string, source_count: int64, money: struct<price: double, prev_close: double, open: double, high: double, low: double, week52_high: double, week52_low: double, market_cap: double, change: double>>, fundamentals: st
...
cn: struct<label: string, label_cn: string>, akshare: struct<label: string, label_cn: string>, cnds: struct<label: string, label_cn: string>, ibkr: struct<label: string, label_cn: string>, schwab: struct<label: string, label_cn: string>, tiger: struct<label: string, label_cn: string>>, errors: struct<quote: struct<fmp: string, eastmoney: string>, fundamentals: struct<fmp: string>, history: struct<eastmoney: string, fmp: string>>, health: struct<quote: struct<failed: struct<>, degraded: list<item: string>>, fundamentals: struct<failed: struct<>, degraded: list<item: string>>, history: struct<failed: struct<>, degraded: list<item: string>>>, cross_check: struct<available: bool, market: string, pairs: list<item: struct<field: string, label_zh: string, label_en: string, a_source: string, b_source: string, a_currency: string, b_currency: string, a_periods: list<item: string>, b_periods: list<item: string>, compared: int64, only_a: list<item: string>, only_b: list<item: null>, worst_diff_pct: double, tol_agree_pct: double, tol_near_pct: double, periods: list<item: struct<year: string, a: double, b: double, diff_pct: double, verdict: string>>, verdict: string, agree: int64, near: int64, differ: int64, note_zh: string, note_en: string>>, affects_value: bool, counts: struct<differ: int64, near: int64, no_overlap: int64, currency: int64, agree: int64>, summary_zh: string, summary_en: string>, currency_notes: list<item: null>>, warnings: list<item: null>>>, 000001.SZ|NATIVE||zh|x: null>
to
{'000001.SZ|NATIVE||zh|x': {'saved_at': Value('float64'), 'fp': Value('string'), 'payload': {'ok': Value('bool'), 'generated_at': Value('int64'), 'cached': Value('bool'), 'elapsed_ms': Value('int64'), 'instrument': {'raw': Value('string'), 'symbol': Value('string'), 'market': Value('string'), 'exchange': Value('string'), 'currency': Value('string'), 'exchange_name': Value('string'), 'exchange_name_en': Value('string'), 'name_hint': Value('string')}, 'gaps': Value('null'), 'source_depth': {'locked': Value('string'), 'quarterly_have': Value('int64'), 'quarterly_need': Value('int64'), 'annual_have': Value('int64'), 'sources': List(Value('string'))}, 'currency': {'native': Value('string'), 'display': Value('string'), 'rate': Value('float64'), 'fx_source': Value('string'), 'fx_as_of': Value('int64'), 'fx_cross_check': List(Value('null')), 'fx_agreeing_sources': List(Value('string'))}, 'quote': {'symbol': Value('string'), 'name': Value('string'), 'name_en': Value('string'), 'currency': Value('string'), 'exchange': Value('string'), 'price': Value('float64'), 'change': Value('float64'), 'change_pct': Value('float64'), 'prev_close': Value('float64'), 'open': Value('float64'), 'high': Value('float64'), 'low': Value('float64'), 'volume': Value('float64'), 'avg_volume': Value('float64'), 'market_cap': Value('float64'), 'shares_outstanding': Value('float64'), 'week52_high': Value('float64'), 'week52_low': Value('float64'), 'pe': Value('float64'), 'forward_pe': Value('float64'), 'pb': Valu
...
amentals': Json(decode=True), 'history': {'eastmoney': Value('string')}}, 'health': {'quote': {'failed': Json(decode=True), 'degraded': List(Value('string'))}, 'fundamentals': {'failed': Json(decode=True), 'degraded': List(Value('null'))}, 'history': {'failed': Json(decode=True), 'degraded': List(Value('string'))}}, 'cross_check': {'available': Value('bool'), 'market': Value('string'), 'pairs': List({'field': Value('string'), 'label_zh': Value('string'), 'label_en': Value('string'), 'a_source': Value('string'), 'b_source': Value('string'), 'a_currency': Value('string'), 'b_currency': Value('string'), 'a_periods': List(Value('string')), 'b_periods': List(Value('string')), 'compared': Value('int64'), 'only_a': List(Value('string')), 'only_b': List(Value('null')), 'worst_diff_pct': Value('float64'), 'tol_agree_pct': Value('float64'), 'tol_near_pct': Value('float64'), 'periods': List({'year': Value('string'), 'a': Value('float64'), 'b': Value('float64'), 'diff_pct': Value('float64'), 'verdict': Value('string')}), 'verdict': Value('string'), 'agree': Value('int64'), 'near': Value('int64'), 'differ': Value('int64'), 'note_zh': Value('string'), 'note_en': Value('string')}), 'affects_value': Value('bool'), 'counts': {'differ': Value('int64'), 'near': Value('int64'), 'no_overlap': Value('int64'), 'currency': Value('int64'), 'agree': Value('int64')}, 'summary_zh': Value('string'), 'summary_en': Value('string')}, 'currency_notes': List(Value('null'))}, 'warnings': List(Value('null'))}}}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.
No dataset card yet
- Downloads last month
- 130