Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: ArrowInvalid
Message: Failed to parse string: 'R6' as a scalar of type int64
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/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.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2152, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2015, in array_cast
return array.cast(pa_type)
~~~~~~~~~~^^^^^^^^^
File "pyarrow/array.pxi", line 1161, in pyarrow.lib.Array.cast
File "/usr/local/lib/python3.14/site-packages/pyarrow/compute.py", line 414, in cast
return call_function("cast", [arr], options, memory_pool)
File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
return func.call(args, options=options, memory_pool=memory_pool,
File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
result = GetResultValue(
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: Failed to parse string: 'R6' as a scalar of type int64
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
geo_code int64 | geo_name string | geo_short string | geo_system string | year int64 | value float64 | value_status string | unit string |
|---|---|---|---|---|---|---|---|
0 | Viet Nam | VN | national | 2,018 | 17,945.2 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,019 | 15,685.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,020 | 11,534.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,021 | 10,740.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,022 | 11,088.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,023 | 11,843.8 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,024 | 12,674.6 | preliminary | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,018 | 1.8 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,019 | 1.3 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,020 | 0.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,021 | 0.4 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,022 | 0.2 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,023 | 0.3 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,024 | 0.2 | preliminary | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,018 | 23.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,019 | 25.6 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,020 | 21 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,021 | 20.4 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,022 | 15.2 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,023 | 14 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,024 | 19.8 | preliminary | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,018 | 227.3 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,019 | 207 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,020 | 178.5 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,021 | 173.6 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,022 | 173.3 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,023 | 178.3 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,024 | 189.9 | preliminary | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,018 | 5.7 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,019 | 4.1 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,020 | 2.8 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,021 | 3 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,022 | 3.3 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,023 | 3.6 | final | thousand_tons |
6 | Bac Kan | BK | historical_63 | 2,024 | 3.8 | preliminary | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,018 | 535.5 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,019 | 275.9 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,020 | 169.4 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,021 | 130.5 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,022 | 125.5 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,023 | 124.5 | final | thousand_tons |
8 | Tuyen Quang | TQ | historical_63 | 2,024 | 149.1 | preliminary | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,018 | 9.3 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,019 | 11 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,020 | 12.2 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,021 | 11.2 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,022 | 10.4 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,023 | 8.9 | final | thousand_tons |
10 | Lao Cai | LCA | historical_63 | 2,024 | 7.9 | preliminary | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,018 | 1.4 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,019 | 1.4 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,020 | 1.3 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,021 | 1.8 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,022 | 1.8 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,023 | 1.9 | final | thousand_tons |
11 | Dien Bien | DB | historical_63 | 2,024 | 1.9 | preliminary | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,018 | 6.4 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,019 | 6.9 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,020 | 9.9 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,021 | 11 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,022 | 13 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,023 | 10.7 | final | thousand_tons |
12 | Lai Chau | LC | historical_63 | 2,024 | 9.1 | preliminary | thousand_tons |
14 | Son La | SL | historical_63 | 2,018 | 621.8 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,019 | 570.3 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,020 | 512.8 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,021 | 621.3 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,022 | 681.6 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,023 | 652 | final | thousand_tons |
14 | Son La | SL | historical_63 | 2,024 | 664.1 | preliminary | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,018 | 12.3 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,019 | 8.9 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,020 | 8.1 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,021 | 6.7 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,022 | 5.2 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,023 | 4.7 | final | thousand_tons |
15 | Yen Bai | YB | historical_63 | 2,024 | 5.1 | preliminary | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,018 | 615.9 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,019 | 621 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,020 | 544.3 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,021 | 513.2 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,022 | 481.6 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,023 | 485.7 | final | thousand_tons |
17 | Hoa Binh | HB | historical_63 | 2,024 | 470.7 | preliminary | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,018 | 9.1 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,019 | 9.1 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,020 | 8.4 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,021 | 6.5 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,022 | 6.2 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,023 | 4.8 | final | thousand_tons |
19 | Thai Nguyen | TNG | historical_63 | 2,024 | 4.6 | preliminary | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,018 | 8.5 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,019 | 7.9 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,020 | 7.5 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,021 | 7.3 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,022 | 6.6 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,023 | 5.5 | final | thousand_tons |
20 | Lang Son | LS | historical_63 | 2,024 | 5.4 | preliminary | thousand_tons |
22 | Quang Ninh | QN | historical_63 | 2,018 | 25.1 | final | thousand_tons |
22 | Quang Ninh | QN | historical_63 | 2,019 | 22.6 | final | thousand_tons |
End of preview.
Vietnam provinces sugarcane production
Sugarcane (mia) production (thousand tons). Coverage 2018-2024. Year 2024 is preliminary. Geographic labels are English (UN/GSO style ASCII romanization). Tables cover provinces, regions and national total where present. Province names follow ar_core.vn_geo (historical 63-province system).
Files
provinces (430 rows)
data/provinces.csvdata/provinces.dtadata/provinces.xlsx
regions (42 rows)
data/regions.csvdata/regions.dtadata/regions.xlsx
national (7 rows)
data/national.csvdata/national.dtadata/national.xlsx
Load
Stata:
use "data/provinces.dta", clear
R:
df <- read.csv("data/provinces.csv")
SPSS: open the .xlsx or .csv file.
Source
National Statistics Office of Vietnam (NSO/GSO). Original table title: San luong mia phan theo dia phuong. Cleaned long panel for research use.
Citation
@misc{nso_vn_provinces_sugarcane_production,
title = {Vietnam provinces sugarcane production},
author = {{National Statistics Office of Vietnam}},
note = {Unit: thousand tons.},
year = {2024}
}
Built 2026-09-13 UTC.
- Downloads last month
- 52