Dataset Preview
Duplicate
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 4 new columns ({'Harvested Biomass', 'Trophy Fishing', 'HARA', 'Unnamed: 1'}) and 3 missing columns ({'t', 'variable', 'value'}).

This happened while the csv dataset builder was generating data using

hf://datasets/felimomo/rl4fisheries-public-data/csv/opt-params.csv (at revision 0bd62a4f4115e68e00a5bb8db5ab631a65a77cb3)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Unnamed: 0: string
              Unnamed: 1: string
              Harvested Biomass: double
              HARA: double
              Trophy Fishing: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 872
              to
              {'Unnamed: 0': Value(dtype='int64', id=None), 't': Value(dtype='int64', id=None), 'variable': Value(dtype='string', id=None), 'value': Value(dtype='float64', 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 1433, 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 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 4 new columns ({'Harvested Biomass', 'Trophy Fishing', 'HARA', 'Unnamed: 1'}) and 3 missing columns ({'t', 'variable', 'value'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/felimomo/rl4fisheries-public-data/csv/opt-params.csv (at revision 0bd62a4f4115e68e00a5bb8db5ab631a65a77cb3)
              
              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.

Unnamed: 0
int64
t
int64
variable
string
value
float64
0
0
fishing mort.
0
1
1
fishing mort.
0.025159
2
2
fishing mort.
0
3
3
fishing mort.
0
4
4
fishing mort.
0.033342
5
5
fishing mort.
0.492721
6
6
fishing mort.
0.510801
7
7
fishing mort.
0.529112
8
8
fishing mort.
0
9
9
fishing mort.
0.500514
10
10
fishing mort.
0
11
11
fishing mort.
0
12
12
fishing mort.
0.030732
13
13
fishing mort.
0.49437
14
14
fishing mort.
0.052011
15
15
fishing mort.
0.334986
16
16
fishing mort.
0.148483
17
17
fishing mort.
0.054318
18
18
fishing mort.
0
19
19
fishing mort.
0.049483
20
20
fishing mort.
0.062007
21
21
fishing mort.
0.175474
22
22
fishing mort.
0.358844
23
23
fishing mort.
0.585986
24
24
fishing mort.
0
25
25
fishing mort.
0
26
26
fishing mort.
0.053771
27
27
fishing mort.
0
28
28
fishing mort.
0.016822
29
29
fishing mort.
0
30
30
fishing mort.
0.06418
31
31
fishing mort.
0.03259
32
32
fishing mort.
0
33
33
fishing mort.
0
34
34
fishing mort.
0
35
35
fishing mort.
0
36
36
fishing mort.
0
37
37
fishing mort.
0
38
38
fishing mort.
0
39
39
fishing mort.
0
40
40
fishing mort.
0
41
41
fishing mort.
0
42
42
fishing mort.
0
43
43
fishing mort.
0
44
44
fishing mort.
0
45
45
fishing mort.
0
46
46
fishing mort.
0
47
47
fishing mort.
0
48
48
fishing mort.
0
49
49
fishing mort.
0
50
50
fishing mort.
0
51
51
fishing mort.
0
52
52
fishing mort.
0
53
53
fishing mort.
0
54
54
fishing mort.
0
55
55
fishing mort.
0
56
56
fishing mort.
0
57
57
fishing mort.
0
58
58
fishing mort.
0
59
59
fishing mort.
0
60
60
fishing mort.
0
61
61
fishing mort.
0
62
62
fishing mort.
0
63
63
fishing mort.
0
64
64
fishing mort.
0
65
65
fishing mort.
0
66
66
fishing mort.
0
67
67
fishing mort.
0
68
68
fishing mort.
0
69
69
fishing mort.
0
70
70
fishing mort.
0
71
71
fishing mort.
0
72
72
fishing mort.
0
73
73
fishing mort.
0
74
74
fishing mort.
0
75
75
fishing mort.
0
76
76
fishing mort.
0
77
77
fishing mort.
0
78
78
fishing mort.
0
79
79
fishing mort.
0
80
80
fishing mort.
0
81
81
fishing mort.
0
82
82
fishing mort.
0
83
83
fishing mort.
0
84
84
fishing mort.
0
85
85
fishing mort.
0
86
86
fishing mort.
0
87
87
fishing mort.
0
88
88
fishing mort.
0
89
89
fishing mort.
0
90
90
fishing mort.
0
91
91
fishing mort.
0
92
92
fishing mort.
0.036509
93
93
fishing mort.
0.009294
94
94
fishing mort.
0.105174
95
95
fishing mort.
0
96
96
fishing mort.
0
97
97
fishing mort.
0
98
98
fishing mort.
0
99
99
fishing mort.
0
End of preview.
README.md exists but content is empty.
Downloads last month
1