Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'description', 'name', 'price'}) and 4 missing columns ({'products', 'users', 'cart', 'sales'}).

This happened while the json dataset builder was generating data using

hf://datasets/Testbase1/testsett/products.json (at revision a2f69efbd023a0734ffecb37792359df19e798c7)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              name: string
              price: int64
              description: string
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 439
              to
              {'users': [{'id': Value(dtype='int64', id=None), 'username': Value(dtype='string', id=None), 'token': Value(dtype='string', id=None)}], 'products': [{'id': Value(dtype='int64', id=None), 'name': Value(dtype='string', id=None), 'description': Value(dtype='string', id=None), 'purchase_price': Value(dtype='float64', id=None), 'sale_price': Value(dtype='float64', id=None), 'quantity_in_stock': Value(dtype='int64', id=None), 'user_id': Value(dtype='int64', id=None)}], 'cart': Sequence(feature=Value(dtype='null', id=None), length=-1, id=None), 'sales': [{'id': Value(dtype='int64', id=None), 'sale_id': Value(dtype='string', id=None), 'product_id': Value(dtype='int64', id=None), 'quantity': Value(dtype='int64', id=None), 'total_amount': Value(dtype='float64', id=None), 'sale_date': Value(dtype='timestamp[s]', id=None)}]}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1420, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1052, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'description', 'name', 'price'}) and 4 missing columns ({'products', 'users', 'cart', 'sales'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/Testbase1/testsett/products.json (at revision a2f69efbd023a0734ffecb37792359df19e798c7)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

users
list
products
list
cart
sequence
sales
list
name
string
price
int64
description
string
[ { "id": 1, "username": "test", "token": "G7DBTgdm1bdV4" }, { "id": 2, "username": "Sjzjsw", "token": "rhVR05mvmRNFB" } ]
[ { "id": 1, "name": "test", "description": "", "purchase_price": 100, "sale_price": 350, "quantity_in_stock": 50303, "user_id": 1 } ]
[]
[ { "id": 1, "sale_id": "akCGJyG22sy0d", "product_id": 1, "quantity": 100, "total_amount": 35000, "sale_date": "2025-02-16T18:31:58" } ]
null
null
null
null
null
null
null
Morshen Alpha
3,000
3000
null
null
null
null
Нолл
2,000
Ооллл
README.md exists but content is empty.
Downloads last month
0

Spaces using Testbase1/testsett 2