The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 21 new columns ({'lit_mean', 'lit_max', 'cf_cvg_median', 'cf_cvg_max', 'median_stdDev', 'cf_cvg_mean', 'lit_stdDev', 'cf_cvg_stdDev', 'median_mean', 'lit_median', 'median_median', 'average_max', 'maximum_stdDev', 'median_max', 'maximum_median', 'average_stdDev', 'average_mean', 'maximum_max', 'maximum_mean', 'row_id', 'average_median'})
This happened while the csv dataset builder was generating data using
hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data/rwi_viirs_features_full.csv (at revision 0e65fd6f5fd1d70101270f246d5f0cbb29466455), ['hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data@0e65fd6f5fd1d70101270f246d5f0cbb29466455/rwi_central_asia.csv', 'hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data@0e65fd6f5fd1d70101270f246d5f0cbb29466455/rwi_viirs_features_full.csv']
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
average_max: double
average_mean: double
average_median: double
average_stdDev: double
cf_cvg_max: int64
cf_cvg_mean: double
cf_cvg_median: double
cf_cvg_stdDev: double
country: string
country_iso3: string
error: double
lat: double
lit_max: int64
lit_mean: double
lit_median: int64
lit_stdDev: double
lon: double
maximum_max: double
maximum_mean: double
maximum_median: double
maximum_stdDev: double
median_max: double
median_mean: double
median_median: double
median_stdDev: double
row_id: int64
rwi: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3512
to
{'country': Value('string'), 'country_iso3': Value('string'), 'lat': Value('float64'), 'lon': Value('float64'), 'rwi': Value('float64'), 'error': Value('float64')}
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 1361, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 940, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1839, 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 21 new columns ({'lit_mean', 'lit_max', 'cf_cvg_median', 'cf_cvg_max', 'median_stdDev', 'cf_cvg_mean', 'lit_stdDev', 'cf_cvg_stdDev', 'median_mean', 'lit_median', 'median_median', 'average_max', 'maximum_stdDev', 'median_max', 'maximum_median', 'average_stdDev', 'average_mean', 'maximum_max', 'maximum_mean', 'row_id', 'average_median'})
This happened while the csv dataset builder was generating data using
hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data/rwi_viirs_features_full.csv (at revision 0e65fd6f5fd1d70101270f246d5f0cbb29466455), ['hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data@0e65fd6f5fd1d70101270f246d5f0cbb29466455/rwi_central_asia.csv', 'hf://datasets/Erg0-SuM/ind-proj-nn-minor-light-data@0e65fd6f5fd1d70101270f246d5f0cbb29466455/rwi_viirs_features_full.csv']
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.
country string | country_iso3 string | lat float64 | lon float64 | rwi float64 | error float64 |
|---|---|---|---|---|---|
Kazakhstan | KAZ | 49.972422 | 56.348877 | -0.58 | 0.224 |
Kazakhstan | KAZ | 53.034607 | 70.213623 | 0.147 | 0.274 |
Kazakhstan | KAZ | 43.317184 | 77.025147 | 0.024 | 0.39 |
Kazakhstan | KAZ | 47.85003 | 59.644775 | -0.393 | 0.313 |
Kazakhstan | KAZ | 45.821143 | 62.061768 | 0.117 | 0.403 |
Kazakhstan | KAZ | 51.282534 | 70.894775 | -0.319 | 0.252 |
Kazakhstan | KAZ | 52.476089 | 72.037354 | -0.105 | 0.317 |
Kazakhstan | KAZ | 50.268276 | 66.873779 | 0.129 | 0.381 |
Kazakhstan | KAZ | 52.207606 | 77.025147 | 0.072 | 0.33 |
Kazakhstan | KAZ | 48.085418 | 70.982666 | -0.345 | 0.27 |
Kazakhstan | KAZ | 48.026672 | 70.806885 | -0.436 | 0.3 |
Kazakhstan | KAZ | 51.624837 | 73.157959 | 0.856 | 0.329 |
Kazakhstan | KAZ | 43.540584 | 77.772217 | -0.194 | 0.341 |
Kazakhstan | KAZ | 43.349149 | 52.89917 | 0.752 | 0.436 |
Kazakhstan | KAZ | 49.81672 | 82.650147 | -0.493 | 0.322 |
Kazakhstan | KAZ | 48.407326 | 75.377197 | -0.578 | 0.265 |
Kazakhstan | KAZ | 48.929717 | 47.032471 | 0.117 | 0.276 |
Kazakhstan | KAZ | 49.030665 | 80.057373 | -0.093 | 0.371 |
Kazakhstan | KAZ | 44.127028 | 66.741943 | -0.445 | 0.379 |
Kazakhstan | KAZ | 51.91039 | 66.2146 | 0.349 | 0.376 |
Kazakhstan | KAZ | 51.611194 | 69.862061 | -0.091 | 0.296 |
Kazakhstan | KAZ | 50.645977 | 56.678467 | 0.282 | 0.296 |
Kazakhstan | KAZ | 43.460893 | 77.025147 | 0.63 | 0.398 |
Kazakhstan | KAZ | 43.221189 | 76.278076 | -0.106 | 0.387 |
Kazakhstan | KAZ | 48.683707 | 74.190674 | -0.223 | 0.263 |
Kazakhstan | KAZ | 53.324311 | 69.378662 | 0.276 | 0.372 |
Kazakhstan | KAZ | 43.333169 | 77.003174 | 0.948 | 0.427 |
Kazakhstan | KAZ | 54.844989 | 69.11499 | 0.637 | 0.364 |
Kazakhstan | KAZ | 41.697525 | 69.532471 | -0.245 | 0.292 |
Kazakhstan | KAZ | 40.971603 | 68.36792 | -0.523 | 0.285 |
Kazakhstan | KAZ | 43.55651 | 75.289307 | -0.634 | 0.347 |
Kazakhstan | KAZ | 49.94415 | 82.650147 | 0.63 | 0.382 |
Kazakhstan | KAZ | 52.609719 | 69.312744 | -0.643 | 0.249 |
Kazakhstan | KAZ | 49.303635 | 84.737549 | -0.491 | 0.253 |
Kazakhstan | KAZ | 45.081278 | 64.105225 | -0.492 | 0.303 |
Kazakhstan | KAZ | 40.938414 | 68.236084 | -0.691 | 0.284 |
Kazakhstan | KAZ | 45.205263 | 62.808838 | -0.546 | 0.269 |
Kazakhstan | KAZ | 45.019185 | 78.013916 | 0.189 | 0.405 |
Kazakhstan | KAZ | 51.556582 | 71.883545 | -0.423 | 0.245 |
Kazakhstan | KAZ | 40.988191 | 68.345947 | -0.241 | 0.281 |
Kazakhstan | KAZ | 43.285203 | 73.487549 | -0.447 | 0.396 |
Kazakhstan | KAZ | 49.503809 | 83.682861 | -0.203 | 0.248 |
Kazakhstan | KAZ | 51.570241 | 52.459717 | -0.306 | 0.227 |
Kazakhstan | KAZ | 45.821143 | 81.705322 | -0.736 | 0.273 |
Kazakhstan | KAZ | 54.194583 | 68.016357 | -0.515 | 0.265 |
Kazakhstan | KAZ | 49.930008 | 73.201904 | -0.342 | 0.348 |
Kazakhstan | KAZ | 52.221069 | 64.412842 | -0.207 | 0.201 |
Kazakhstan | KAZ | 51.103521 | 66.346436 | -0.328 | 0.248 |
Kazakhstan | KAZ | 43.397065 | 73.861084 | -0.549 | 0.285 |
Kazakhstan | KAZ | 51.460852 | 75.81665 | -0.096 | 0.414 |
Kazakhstan | KAZ | 51.213765 | 71.114502 | 0.821 | 0.379 |
Kazakhstan | KAZ | 52.942017 | 70.213623 | 0.614 | 0.404 |
Kazakhstan | KAZ | 52.609719 | 62.611084 | -0.483 | 0.206 |
Kazakhstan | KAZ | 44.127028 | 52.130127 | -0.115 | 0.409 |
Kazakhstan | KAZ | 46.551305 | 53.272705 | -0.002 | 0.386 |
Kazakhstan | KAZ | 51.089722 | 71.224365 | 0.473 | 0.363 |
Kazakhstan | KAZ | 52.51622 | 76.607666 | -0.295 | 0.217 |
Kazakhstan | KAZ | 43.333169 | 77.200928 | 0.337 | 0.409 |
Kazakhstan | KAZ | 43.317184 | 76.519775 | 1.065 | 0.325 |
Kazakhstan | KAZ | 50.951506 | 79.398193 | 0.712 | 0.344 |
Kazakhstan | KAZ | 49.160154 | 47.493897 | -0.249 | 0.263 |
Kazakhstan | KAZ | 42.916206 | 70.037842 | 0.278 | 0.35 |
Kazakhstan | KAZ | 52.476089 | 77.178955 | -0.31 | 0.25 |
Kazakhstan | KAZ | 49.887556 | 73.00415 | 0.039 | 0.39 |
Kazakhstan | KAZ | 50.450509 | 58.018799 | -0.369 | 0.234 |
Kazakhstan | KAZ | 51.978113 | 75.267334 | -0.195 | 0.244 |
Kazakhstan | KAZ | 49.930008 | 81.881104 | -0.188 | 0.37 |
Kazakhstan | KAZ | 43.428987 | 74.608154 | -0.364 | 0.273 |
Kazakhstan | KAZ | 50.951506 | 73.861084 | -0.252 | 0.262 |
Kazakhstan | KAZ | 41.335576 | 68.69751 | -0.513 | 0.363 |
Kazakhstan | KAZ | 53.232345 | 62.677002 | 0.151 | 0.235 |
Kazakhstan | KAZ | 48.944151 | 53.55835 | 0.223 | 0.353 |
Kazakhstan | KAZ | 54.476421 | 68.69751 | -0.314 | 0.256 |
Kazakhstan | KAZ | 50.043029 | 53.514404 | 0.393 | 0.272 |
Kazakhstan | KAZ | 43.09296 | 70.894775 | 0.184 | 0.374 |
Kazakhstan | KAZ | 42.81958 | 69.730225 | -0.732 | 0.277 |
Kazakhstan | KAZ | 47.731934 | 71.5979 | -0.36 | 0.268 |
Kazakhstan | KAZ | 53.625095 | 71.8396 | -0.035 | 0.304 |
Kazakhstan | KAZ | 44.925918 | 78.54126 | -0.348 | 0.281 |
Kazakhstan | KAZ | 43.157108 | 76.607666 | 0.636 | 0.393 |
Kazakhstan | KAZ | 50.53438 | 81.397705 | -0.077 | 0.273 |
Kazakhstan | KAZ | 50.422518 | 80.233154 | 1.539 | 0.379 |
Kazakhstan | KAZ | 54.091617 | 65.401611 | -0.852 | 0.202 |
Kazakhstan | KAZ | 42.851806 | 71.422119 | 0.863 | 0.438 |
Kazakhstan | KAZ | 49.059469 | 51.954346 | -0.179 | 0.341 |
Kazakhstan | KAZ | 49.532339 | 75.882568 | -0.151 | 0.28 |
Kazakhstan | KAZ | 51.199999 | 51.383057 | 1.792 | 0.338 |
Kazakhstan | KAZ | 49.617828 | 63.48999 | 0.118 | 0.344 |
Kazakhstan | KAZ | 51.117316 | 49.998779 | -0.687 | 0.225 |
Kazakhstan | KAZ | 43.109004 | 70.938721 | -0.573 | 0.281 |
Kazakhstan | KAZ | 43.508721 | 77.684326 | 0.641 | 0.421 |
Kazakhstan | KAZ | 50.254229 | 81.617432 | -0.471 | 0.29 |
Kazakhstan | KAZ | 53.271783 | 66.741943 | -0.077 | 0.264 |
Kazakhstan | KAZ | 50.043029 | 80.69458 | -0.177 | 0.361 |
Kazakhstan | KAZ | 48.973005 | 68.7854 | -0.087 | 0.403 |
Kazakhstan | KAZ | 47.717153 | 84.210205 | 0.359 | 0.398 |
Kazakhstan | KAZ | 42.382894 | 69.796143 | -0.258 | 0.35 |
Kazakhstan | KAZ | 51.39235 | 53.492432 | 0.076 | 0.222 |
Kazakhstan | KAZ | 46.626806 | 62.720947 | -0.326 | 0.272 |
Kazakhstan | KAZ | 49.475263 | 83.814697 | -0.322 | 0.256 |
This dataset contains data to research the RWI and VIIRS indicators, e. g. for an economic research. Done for Central Asian countries ONLY. Full datasets are availabe here: RWI - https://dataforgood.facebook.com/dfg/tools/relative-wealth-index?utm_source=chatgpt.com VIIRS - https://eogdata.mines.edu/products/vnl/?utm_source=chatgpt.com
About the files specifically:
processed/rwi_central_asia.csvRWI points for Central Asia. Contains coordinates, country code,row_id, and target variablerwi.processed/rwi_viirs_features_full.csvTabular VIIRS features for each RWI point. Used for linear regression, ridge regression, and random forest models.processed/cnn_dataset_p48_viirs2022.npzPatch dataset for image-based models. Contains 5-channel VIIRS patches of size48 x 48, target values, country codes, and row ids. Used by CNN and ViT notebooks.raw/viirs_ca_2022_5bands.tifCropped 5-band VIIRS raster for Central Asia. Used for maps and visualizations.README.mdShort description of the dataset structure and file purpose.
- Downloads last month
- 4