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 5 new columns ({'addr2', 'addr4', 'addr3', 'addr1', 'postcode'}) and 18 missing columns ({'SaoText', 'UPRN', 'PaoStartNumber', 'SaoStartSuffix', 'PaoStartSuffix', 'Level', 'AdministrativeArea', 'PaoEndNumber', 'PaoText', 'SaoEndSuffix', 'LocalityName', 'SaoEndNumber', 'SaoStartNumber', 'Street', 'PostTown', 'PaoEndSuffix', 'USRN', 'Postcode'}).

This happened while the csv dataset builder was generating data using

hf://datasets/seanpedrickcase/test_address_match_data/example_input_data_1.csv (at revision 0b56af44e4b520ad82b1760e1e3a1fc0c793aeca)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              addr1: string
              addr2: string
              addr3: string
              addr4: double
              postcode: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 816
              to
              {'UPRN': Value(dtype='int64', id=None), 'SaoStartNumber': Value(dtype='float64', id=None), 'SaoStartSuffix': Value(dtype='float64', id=None), 'SaoEndNumber': Value(dtype='float64', id=None), 'SaoEndSuffix': Value(dtype='float64', id=None), 'SaoText': Value(dtype='string', id=None), 'PaoStartNumber': Value(dtype='int64', id=None), 'PaoStartSuffix': Value(dtype='float64', id=None), 'PaoEndNumber': Value(dtype='float64', id=None), 'PaoEndSuffix': Value(dtype='float64', id=None), 'PaoText': Value(dtype='string', id=None), 'USRN': Value(dtype='int64', id=None), 'Level': Value(dtype='float64', id=None), 'Street': Value(dtype='string', id=None), 'LocalityName': Value(dtype='float64', id=None), 'PostTown': Value(dtype='string', id=None), 'AdministrativeArea': Value(dtype='string', id=None), 'Postcode': Value(dtype='string', 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 1321, 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 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 5 new columns ({'addr2', 'addr4', 'addr3', 'addr1', 'postcode'}) and 18 missing columns ({'SaoText', 'UPRN', 'PaoStartNumber', 'SaoStartSuffix', 'PaoStartSuffix', 'Level', 'AdministrativeArea', 'PaoEndNumber', 'PaoText', 'SaoEndSuffix', 'LocalityName', 'SaoEndNumber', 'SaoStartNumber', 'Street', 'PostTown', 'PaoEndSuffix', 'USRN', 'Postcode'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/seanpedrickcase/test_address_match_data/example_input_data_1.csv (at revision 0b56af44e4b520ad82b1760e1e3a1fc0c793aeca)
              
              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.

UPRN
int64
SaoStartNumber
null
SaoStartSuffix
null
SaoEndNumber
null
SaoEndSuffix
null
SaoText
string
PaoStartNumber
int64
PaoStartSuffix
null
PaoEndNumber
null
PaoEndSuffix
null
PaoText
string
USRN
int64
Level
null
Street
string
LocalityName
null
PostTown
string
AdministrativeArea
string
Postcode
string
addr1
string
addr2
string
addr3
string
addr4
null
postcode
string
10,090,200,342
null
null
null
null
FLAT 304
23
null
null
null
null
21,901,248
null
SOUTH LAMBETH ROAD
null
LONDON
LAMBETH
SW8 1SU
null
null
null
null
null
10,090,198,256
null
null
null
null
APARTMENT 39
1
null
null
null
null
21,902,108
null
ST GEORGE WHARF
null
LONDON
LAMBETH
SW8 2BW
null
null
null
null
null
10,091,117,824
null
null
null
null
FLAT 2
131
null
null
null
FISHWICK HOUSE
21,900,894
null
LOUGHBOROUGH PARK
null
LONDON
LAMBETH
SW9 8FE
null
null
null
null
null
200,000,469,056
null
null
null
null
null
3
null
null
null
NORWOOD HOTEL PUBLIC HOUSE
21,900,816
null
KNIGHT'S HILL
null
LONDON
LAMBETH
SE27 0HS
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
FLAT 304 AT
23 SOUTH LAMBETH ROAD
LONDON
null
SW8 1SU
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
APARTMENT 39 AT
1 ST GEORGE WHARF
LONDON
null
SW8 2BW
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2 FISHWICK HOUSE
131 LOUGHBOROUGH PARK
LONDON
null
SW9 8FE
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
ROOM 10 NORWOOD HOTEL
3 KNIGHTS HILL
LONDON
null
SE27 0HS
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
38