Dataset Preview
View in Dataset Viewer
Viewer
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 2 new columns ({' code', 'State name'}) and 4 missing columns ({'state', 'start_year', 'value', 'end_year'}). This happened while the csv dataset builder was generating data using hf://datasets/neutralboy/indian_states_gdp/state_code_abbreviation.csv (at revision f53fb989a0327e4a7b678889a6f549f092cc469c) 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 State name: string code: string -- schema metadata -- pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 490 to {'state': Value(dtype='string', id=None), 'start_year': Value(dtype='int64', id=None), 'end_year': Value(dtype='int64', id=None), 'value': 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 2 new columns ({' code', 'State name'}) and 4 missing columns ({'state', 'start_year', 'value', 'end_year'}). This happened while the csv dataset builder was generating data using hf://datasets/neutralboy/indian_states_gdp/state_code_abbreviation.csv (at revision f53fb989a0327e4a7b678889a6f549f092cc469c) 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? Open a discussion for direct support.
state
string | start_year
int64 | end_year
int64 | value
string |
---|---|---|---|
AP | 1,993 | 1,994 | 5786664 |
AP | 1,994 | 1,995 | 6892337 |
AP | 1,995 | 1,996 | 7985358 |
AP | 1,996 | 1,997 | 9014743 |
AP | 1,997 | 1,998 | 9578227 |
AP | 1,998 | 1,999 | 11493710 |
AP | 1,999 | 2,000 | 12879712 |
AP | 2,000 | 2,001 | 14472302 |
AP | 2,001 | 2,002 | 15671069 |
AP | 2,002 | 2,003 | 16709609 |
AP | 2,003 | 2,004 | 19001651 |
AP | 2,004 | 2,005 | 21180229 |
AP | 2,005 | 2,006 | 23968299 |
AP | 2,006 | 2,007 | 27728562 |
AP | 2,007 | 2,008 | 32654675 |
AP | 2,008 | 2,009 | 37734627 |
AP | 2,009 | 2,010 | 41134926 |
AP | 2,011 | 2,012 | 37940200 |
AP | 2,012 | 2,013 | 41140400 |
AP | 2,013 | 2,014 | 46427200 |
AP | 2,014 | 2,015 | 52497600 |
AP | 2,015 | 2,016 | 60422900 |
AP | 2,016 | 2,017 | 68441600 |
AP | 2,017 | 2,018 | 78613500 |
AP | 2,018 | 2,019 | 87372100 |
AP | 2,019 | 2,020 | 92583900 |
AP | 2,020 | 2,021 | 95678800 |
AP | 2,021 | 2,022 | 113383700 |
AP | 2,022 | 2,023 | 131772800 |
GJ | 1,993 | 1,994 | 4919429 |
GJ | 1,994 | 1,995 | 6351578 |
GJ | 1,995 | 1,996 | 7188561 |
GJ | 1,996 | 1,997 | 8583736 |
GJ | 1,997 | 1,998 | 9118760 |
GJ | 1,998 | 1,999 | 10530452 |
GJ | 1,999 | 2,000 | 10986100 |
GJ | 2,000 | 2,001 | 11113900 |
GJ | 2,001 | 2,002 | 12357300 |
GJ | 2,002 | 2,003 | 14153400 |
GJ | 2,003 | 2,004 | 16808000 |
GJ | 2,004 | 2,005 | 18911800 |
GJ | 2,005 | 2,006 | 22689700 |
GJ | 2,006 | 2,007 | 26272300 |
GJ | 2,007 | 2,008 | 30373427 |
GJ | 2,008 | 2,009 | 33721665 |
GJ | 2,011 | 2,012 | 61560600 |
GJ | 2,012 | 2,013 | 72449500 |
GJ | 2,013 | 2,014 | 80762300 |
GJ | 2,014 | 2,015 | 92177300 |
GJ | 2,015 | 2,016 | 102901000 |
GJ | 2,016 | 2,017 | 116715600 |
GJ | 2,017 | 2,018 | 132909500 |
GJ | 2,018 | 2,019 | 149215600 |
GJ | 2,019 | 2,020 | 161714300 |
GJ | 2,020 | 2,021 | 161610600 |
GJ | 2,021 | 2,022 | 193706600 |
GJ | 2,022 | 2,023 | NA |
KA | 1,993 | 1,994 | 4107905 |
KA | 1,994 | 1,995 | 4791516 |
KA | 1,995 | 1,996 | 5621456 |
KA | 1,996 | 1,997 | 6517573 |
KA | 1,997 | 1,998 | 7304576 |
KA | 1,998 | 1,999 | 8784091 |
KA | 1,999 | 2,000 | 10124745 |
KA | 2,000 | 2,001 | 10836170 |
KA | 2,001 | 2,002 | 11284650 |
KA | 2,002 | 2,003 | 12088876 |
KA | 2,003 | 2,004 | 13098974 |
KA | 2,004 | 2,005 | 15622577 |
KA | 2,005 | 2,006 | 18379562 |
KA | 2,006 | 2,007 | 20578406 |
KA | 2,007 | 2,008 | 24006235 |
KA | 2,008 | 2,009 | 27069662 |
KA | 2,011 | 2,012 | 60601000 |
KA | 2,012 | 2,013 | 69541300 |
KA | 2,013 | 2,014 | 81666600 |
KA | 2,014 | 2,015 | 91392300 |
KA | 2,015 | 2,016 | 104516800 |
KA | 2,016 | 2,017 | 120760800 |
KA | 2,017 | 2,018 | 133324000 |
KA | 2,018 | 2,019 | 147939100 |
KA | 2,019 | 2,020 | 161113400 |
KA | 2,020 | 2,021 | 162507300 |
KA | 2,021 | 2,022 | 196272500 |
KA | 2,022 | 2,023 | 224136800 |
KL | 1,993 | 1,994 | 2632602 |
KL | 1,994 | 1,995 | 3187663 |
KL | 1,995 | 1,996 | 3876232 |
KL | 1,996 | 1,997 | 4445990 |
KL | 1,997 | 1,998 | 4948447 |
KL | 1,998 | 1,999 | 5620368 |
KL | 1,999 | 2,000 | 6916847 |
KL | 2,000 | 2,001 | 7265883 |
KL | 2,001 | 2,002 | 7792375 |
KL | 2,002 | 2,003 | 8689476 |
KL | 2,003 | 2,004 | 9669803 |
KL | 2,004 | 2,005 | 11025991 |
KL | 2,005 | 2,006 | 12558808 |
KL | 2,006 | 2,007 | 14500932 |
KL | 2,007 | 2,008 | 16572174 |
End of preview.
Indian States GDP numbers
I wanted to find out how Indian states were faring since independence and if government policies and regimes have made any difference. Since I could not find any aggregate data I wanted to use a list of government documents and compile it myself by state.
For the first dataset I will complile only the southern and richer northern states for comparison:
- Andhra Pradesh
- Telangana
- Karnataka
- Kerala
- Maharashtra
- Tamil Nadu
- Gujrat
- Punjab
- West Bengal
Columns in the dataset
- state: State codes
- start_year: Start of the assessment year
- end_year: End of the assessment year
- value: Value in INR Lacs - 1 Lac is 100000 INR
Sources:
- 1961 - 1984 : https://mospi.gov.in/sites/default/files/press_releases_statements/Estimates_of_SDP_1960-61_to_1983-84.pdf
- 1993-94 to 05-06: https://mospi.gov.in/publication/state-domestic-product-state-series-1993-94
- 1999-00 to 09-10: https://mospi.gov.in/publication/state-domestic-product-state-series-1999-2000
- 2011-12 to 22-23: https://mospi.gov.in/sites/default/files/press_releases_statements/State_wise_SDP_01_08_2023_Rev.xls
Notes
- Sometimes when there are overlapping timelines like the second source and third source have overlap from 1999-00 to 05-06 - they often have different numbers. In such a case I have considered the calculation done at a later stage considering that is has been updated recently.
- Downloads last month
- 1