Dataset Preview
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 23 new columns ({'sand_pct', 'clay_pct', 'silt_pct', 'latitude', 'pH', 'nitrogen_mg_kg', 'predicted_value_lakh', 'rate_per_acre_inr', 'dist_city_km', 'contributions', 'nearest_mandi_name', 'organic_carbon_pct', 'predicted_value_inr', 'dist_nearest_mandi_km', 'nearest_apmc_name', 'irrigation_index', 'village_name', 'soil_fertility_score', 'tehsil', 'dist_nearest_apmc_km', 'land_type', 'longitude', 'road_accessibility'}) and 3 missing columns ({'Market', 'Latitude', 'Longitude'}).
This happened while the csv dataset builder was generating data using
hf://datasets/dsushma123/agri_land_data/predicted_land_values.csv (at revision d01abeeb7fecd12b5114740b2d16e59416212442), [/tmp/hf-datasets-cache/medium/datasets/29252810544866-config-parquet-and-info-dsushma123-agri_land_data-b7c7fbfe/hub/datasets--dsushma123--agri_land_data/snapshots/d01abeeb7fecd12b5114740b2d16e59416212442/ludhiana_apmc_markets_lat_long.csv (origin=hf://datasets/dsushma123/agri_land_data@d01abeeb7fecd12b5114740b2d16e59416212442/ludhiana_apmc_markets_lat_long.csv), /tmp/hf-datasets-cache/medium/datasets/29252810544866-config-parquet-and-info-dsushma123-agri_land_data-b7c7fbfe/hub/datasets--dsushma123--agri_land_data/snapshots/d01abeeb7fecd12b5114740b2d16e59416212442/predicted_land_values.csv (origin=hf://datasets/dsushma123/agri_land_data@d01abeeb7fecd12b5114740b2d16e59416212442/predicted_land_values.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 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
village_name: string
tehsil: string
land_type: string
rate_per_acre_inr: int64
latitude: double
longitude: double
dist_city_km: double
clay_pct: double
sand_pct: double
silt_pct: double
pH: double
nitrogen_mg_kg: double
organic_carbon_pct: double
irrigation_index: double
dist_nearest_mandi_km: double
nearest_mandi_name: string
dist_nearest_apmc_km: double
nearest_apmc_name: string
road_accessibility: int64
soil_fertility_score: int64
predicted_value_inr: int64
predicted_value_lakh: double
contributions: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3187
to
{'Market': Value('string'), 'Latitude': Value('float64'), 'Longitude': 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 1347, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, 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 1892, 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 23 new columns ({'sand_pct', 'clay_pct', 'silt_pct', 'latitude', 'pH', 'nitrogen_mg_kg', 'predicted_value_lakh', 'rate_per_acre_inr', 'dist_city_km', 'contributions', 'nearest_mandi_name', 'organic_carbon_pct', 'predicted_value_inr', 'dist_nearest_mandi_km', 'nearest_apmc_name', 'irrigation_index', 'village_name', 'soil_fertility_score', 'tehsil', 'dist_nearest_apmc_km', 'land_type', 'longitude', 'road_accessibility'}) and 3 missing columns ({'Market', 'Latitude', 'Longitude'}).
This happened while the csv dataset builder was generating data using
hf://datasets/dsushma123/agri_land_data/predicted_land_values.csv (at revision d01abeeb7fecd12b5114740b2d16e59416212442), [/tmp/hf-datasets-cache/medium/datasets/29252810544866-config-parquet-and-info-dsushma123-agri_land_data-b7c7fbfe/hub/datasets--dsushma123--agri_land_data/snapshots/d01abeeb7fecd12b5114740b2d16e59416212442/ludhiana_apmc_markets_lat_long.csv (origin=hf://datasets/dsushma123/agri_land_data@d01abeeb7fecd12b5114740b2d16e59416212442/ludhiana_apmc_markets_lat_long.csv), /tmp/hf-datasets-cache/medium/datasets/29252810544866-config-parquet-and-info-dsushma123-agri_land_data-b7c7fbfe/hub/datasets--dsushma123--agri_land_data/snapshots/d01abeeb7fecd12b5114740b2d16e59416212442/predicted_land_values.csv (origin=hf://datasets/dsushma123/agri_land_data@d01abeeb7fecd12b5114740b2d16e59416212442/predicted_land_values.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.
Market string | Latitude float64 | Longitude float64 |
|---|---|---|
Doraha APMC | 30.8039 | 76.0334 |
Hathur APMC | 30.6038 | 75.4257 |
Jagraon APMC | 30.7878 | 75.4739 |
Khanna APMC | 30.7055 | 76.2219 |
Kila Raipur APMC | 30.71 | 75.83 |
Kila Raipur (Jodhan) APMC | 30.7 | 75.82 |
Ludhiana APMC | 30.901 | 75.8573 |
Ludhiana (Mandi Gill Road) APMC | 30.895 | 75.86 |
Ludhiana (Salem Tabri) APMC | 30.92 | 75.85 |
Machhiwara APMC | 30.9156 | 76.2 |
Malaoud (Siar) APMC | 30.6 | 75.9 |
Maloud APMC | 30.597 | 75.89 |
Mansura APMC | 30.76 | 75.5 |
Mullanpur APMC | 30.816 | 75.676 |
Mullanpur Dakha (Sawadi) APMC | 30.8 | 75.65 |
Nurpurbet APMC | 31.05 | 76.2 |
Purain APMC | 30.88 | 75.7 |
Raikot (Nathowal) APMC | 30.66 | 75.61 |
Raikot (Talwandi Rai) APMC | 30.64 | 75.59 |
Raikot APMC | 30.65 | 75.6 |
Samrala APMC | 30.835 | 76.19 |
Sidhwan Bet (Lodhiwala) APMC | 30.72 | 75.55 |
Sidhwan Bet APMC | 30.72 | 75.54 |
Kum Kalan APMC | 30.98 | 75.9 |
Lakhowal APMC | 30.92 | 75.78 |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
null | null | null |
No dataset card yet
- Downloads last month
- 6