Dataset Preview
Full Screen
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 1 new columns ({'date_year_month'}) and 2 missing columns ({'nombre_municipio', 'date_year'}).

This happened while the csv dataset builder was generating data using

hf://datasets/unisaacarroyov/focus_investigaciones/ts_nac-ent_month_terraclimate.csv (at revision 597a7389e275c426975dffa708d4302e2c5a08f6)

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
              cve_geo: int64
              cve_ent: int64
              date_year_month: string
              anomaly_pr_mean: double
              anomaly_tmmn_mean: double
              anomaly_tmmx_mean: double
              pdsi_mean: double
              nombre_estado: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1261
              to
              {'cve_geo': Value(dtype='int64', id=None), 'cve_ent': Value(dtype='int64', id=None), 'date_year': Value(dtype='string', id=None), 'anomaly_pr_mean': Value(dtype='float64', id=None), 'anomaly_tmmn_mean': Value(dtype='float64', id=None), 'anomaly_tmmx_mean': Value(dtype='float64', id=None), 'pdsi_mean': Value(dtype='float64', id=None), 'nombre_estado': Value(dtype='string', id=None), 'nombre_municipio': 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 1 new columns ({'date_year_month'}) and 2 missing columns ({'nombre_municipio', 'date_year'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/unisaacarroyov/focus_investigaciones/ts_nac-ent_month_terraclimate.csv (at revision 597a7389e275c426975dffa708d4302e2c5a08f6)
              
              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.

cve_geo
int64
cve_ent
int64
date_year
string
anomaly_pr_mean
float64
anomaly_tmmn_mean
float64
anomaly_tmmx_mean
float64
pdsi_mean
float64
nombre_estado
string
nombre_municipio
string
0
0
1960-06-30
-0.220588
0.003098
0.081066
-0.619218
Nacional
Estados_Nacionales
0
0
1961-06-30
-0.067617
0.023439
0.031943
-0.653753
Nacional
Estados_Nacionales
0
0
1962-06-30
-0.239
0.186898
0.539901
-1.937522
Nacional
Estados_Nacionales
0
0
1963-06-30
-0.151161
0.223206
0.208982
-1.814597
Nacional
Estados_Nacionales
0
0
1964-06-30
-0.183254
-0.162952
-0.077539
-1.475786
Nacional
Estados_Nacionales
0
0
1965-06-30
-0.014076
0.05556
0.013013
-1.596461
Nacional
Estados_Nacionales
0
0
1966-06-30
0.116453
-0.174435
-0.525949
0.936662
Nacional
Estados_Nacionales
0
0
1967-06-30
0.139684
-0.033486
-0.080664
0.350161
Nacional
Estados_Nacionales
0
0
1968-06-30
0.370656
-0.17759
-0.653379
2.066003
Nacional
Estados_Nacionales
0
0
1969-06-30
-0.162527
0.311908
0.130714
-0.488297
Nacional
Estados_Nacionales
0
0
1970-06-30
-0.168119
-0.321024
-0.043602
-0.424082
Nacional
Estados_Nacionales
0
0
1971-06-30
-0.177249
-0.184962
0.063086
-0.898236
Nacional
Estados_Nacionales
0
0
1972-06-30
0.133223
0.321353
0.277494
0.796071
Nacional
Estados_Nacionales
0
0
1973-06-30
0.022153
-0.047598
-0.164214
1.011801
Nacional
Estados_Nacionales
0
0
1974-06-30
-0.057694
-0.098091
-0.041729
-0.43024
Nacional
Estados_Nacionales
0
0
1975-06-30
-0.284535
-0.391584
-0.092808
-1.143039
Nacional
Estados_Nacionales
0
0
1976-06-30
0.195954
-0.364465
-0.813405
-0.247226
Nacional
Estados_Nacionales
0
0
1977-06-30
-0.175153
0.126837
0.204372
0.474048
Nacional
Estados_Nacionales
0
0
1978-06-30
0.135439
0.192134
-0.234979
0.265029
Nacional
Estados_Nacionales
0
0
1979-06-30
-0.053219
-0.404841
-0.217129
0.553713
Nacional
Estados_Nacionales
0
0
1980-06-30
-0.066531
0.233849
0.209693
-1.05274
Nacional
Estados_Nacionales
0
0
1981-06-30
0.375364
0.295736
-0.142031
2.065587
Nacional
Estados_Nacionales
0
0
1982-06-30
0.008491
0.214622
0.472945
-0.857251
Nacional
Estados_Nacionales
0
0
1983-06-30
0.463477
0.126444
0.023766
1.053502
Nacional
Estados_Nacionales
0
0
1984-06-30
0.245957
0.097744
-0.22835
2.54946
Nacional
Estados_Nacionales
0
0
1985-06-30
0.09624
0.03086
-0.06768
2.154789
Nacional
Estados_Nacionales
0
0
1986-06-30
0.077184
0.239382
0.268145
0.331948
Nacional
Estados_Nacionales
0
0
1987-06-30
-0.062329
-0.286516
-0.003426
-0.004061
Nacional
Estados_Nacionales
0
0
1988-06-30
-0.185311
-0.134125
0.205747
-0.807916
Nacional
Estados_Nacionales
0
0
1989-06-30
-0.111911
0.098601
0.656019
-1.381359
Nacional
Estados_Nacionales
0
0
1990-06-30
0.089991
0.567254
0.286981
0.505163
Nacional
Estados_Nacionales
0
0
1991-06-30
-0.019198
0.436079
0.306754
0.504922
Nacional
Estados_Nacionales
0
0
1992-06-30
0.363674
0.417026
-0.075659
1.960788
Nacional
Estados_Nacionales
0
0
1993-06-30
-0.093759
0.453275
0.436925
0.057411
Nacional
Estados_Nacionales
0
0
1994-06-30
-0.076889
0.84829
0.91931
-1.67633
Nacional
Estados_Nacionales
0
0
1995-06-30
-0.197218
0.713797
0.889829
-1.474351
Nacional
Estados_Nacionales
0
0
1996-06-30
-0.266276
0.335783
1.04036
-1.542453
Nacional
Estados_Nacionales
0
0
1997-06-30
0.352255
0.341474
0.501059
-0.70361
Nacional
Estados_Nacionales
0
0
1998-06-30
-0.243188
0.642376
1.169945
-1.430766
Nacional
Estados_Nacionales
0
0
1999-06-30
-0.336965
0.353625
0.639462
-0.901572
Nacional
Estados_Nacionales
0
0
2000-06-30
-0.086864
0.736587
0.683868
-1.203911
Nacional
Estados_Nacionales
0
0
2001-06-30
-0.047828
0.618288
0.297323
-1.21054
Nacional
Estados_Nacionales
0
0
2002-06-30
-0.085139
0.701187
0.611131
-1.782961
Nacional
Estados_Nacionales
0
0
2003-06-30
-0.053212
0.894465
0.630467
-0.416883
Nacional
Estados_Nacionales
0
0
2004-06-30
0.274015
0.613378
0.31103
1.578953
Nacional
Estados_Nacionales
0
0
2005-06-30
-0.049393
0.768334
0.869912
-0.082902
Nacional
Estados_Nacionales
0
0
2006-06-30
-0.117274
0.716433
1.192948
-0.940573
Nacional
Estados_Nacionales
0
0
2007-06-30
-0.093091
0.616144
0.574532
0.724261
Nacional
Estados_Nacionales
0
0
2008-06-30
-0.260885
0.404398
0.721359
-0.152843
Nacional
Estados_Nacionales
0
0
2009-06-30
-0.136324
0.834465
1.268769
-1.48079
Nacional
Estados_Nacionales
0
0
2010-06-30
-0.045748
0.121446
0.43762
0.329303
Nacional
Estados_Nacionales
0
0
2011-06-30
-0.343563
0.434453
1.689876
-2.443709
Nacional
Estados_Nacionales
0
0
2012-06-30
-0.117195
0.954151
1.428776
-1.766561
Nacional
Estados_Nacionales
0
0
2013-06-30
0.086697
0.711671
0.688411
-0.498898
Nacional
Estados_Nacionales
0
0
2014-06-30
0.042808
0.801964
1.058776
2.232504
Nacional
Estados_Nacionales
0
0
2015-06-30
0.413002
1.228006
0.957476
2.120433
Nacional
Estados_Nacionales
0
0
2016-06-30
-0.035042
1.502753
1.551869
-0.058138
Nacional
Estados_Nacionales
0
0
2017-06-30
-0.262939
1.423727
1.472923
-1.875626
Nacional
Estados_Nacionales
0
0
2018-06-30
0.061107
1.195603
1.039214
-0.190654
Nacional
Estados_Nacionales
0
0
2019-06-30
-0.100199
1.443318
1.49248
-1.120517
Nacional
Estados_Nacionales
0
0
2020-06-30
-0.179271
1.505907
1.575301
-1.549504
Nacional
Estados_Nacionales
0
0
2021-06-30
-0.244641
1.166707
1.236098
-1.788419
Nacional
Estados_Nacionales
0
0
2022-06-30
-0.280526
0.893677
1.020343
-1.424936
Nacional
Estados_Nacionales
1
1
1960-06-30
-0.55589
-0.200204
0.441645
-3.921504
Aguascalientes
Estados_Nacionales
2
2
1960-06-30
-0.271663
-0.060065
0.246832
-1.34199
Baja California
Estados_Nacionales
3
3
1960-06-30
-0.164509
0.41736
-0.14313
3.584956
Baja California Sur
Estados_Nacionales
4
4
1960-06-30
-0.147402
-0.01122
-0.037772
-2.638732
Campeche
Estados_Nacionales
5
5
1960-06-30
0.053464
-0.033093
-0.079626
-0.623507
Coahuila
Estados_Nacionales
6
6
1960-06-30
-0.463655
0.08198
-0.145498
-0.705231
Colima
Estados_Nacionales
7
7
1960-06-30
-0.088907
0.080357
-0.282687
1.318508
Chiapas
Estados_Nacionales
8
8
1960-06-30
-0.155924
0.171361
-0.168212
-1.224381
Chihuahua
Estados_Nacionales
9
9
1960-06-30
-0.375236
-0.136942
0.723141
-2.110031
Ciudad de México
Estados_Nacionales
10
10
1960-06-30
-0.339303
-0.121188
0.233278
-1.392566
Durango
Estados_Nacionales
11
11
1960-06-30
-0.405391
-0.117971
0.483619
-1.41503
Guanajuato
Estados_Nacionales
12
12
1960-06-30
-0.446699
-0.061405
0.511213
0.326297
Guerrero
Estados_Nacionales
13
13
1960-06-30
-0.254364
-0.193879
0.688657
-2.950442
Hidalgo
Estados_Nacionales
14
14
1960-06-30
-0.428068
-0.021431
0.079787
-1.847695
Jalisco
Estados_Nacionales
15
15
1960-06-30
-0.401762
-0.155985
0.768355
-1.836436
México
Estados_Nacionales
16
16
1960-06-30
-0.428653
0.130737
0.211685
-1.043313
Michoacán
Estados_Nacionales
17
17
1960-06-30
-0.423665
-0.070871
0.60293
-0.587268
Morelos
Estados_Nacionales
18
18
1960-06-30
-0.346969
-0.076706
0.038773
-0.230637
Nayarit
Estados_Nacionales
19
19
1960-06-30
-0.073461
-0.111531
0.097534
-1.78182
Nuevo León
Estados_Nacionales
20
20
1960-06-30
-0.093103
0.152443
-0.100888
0.891579
Oaxaca
Estados_Nacionales
21
21
1960-06-30
-0.240695
0.111364
0.265396
0.115625
Puebla
Estados_Nacionales
22
22
1960-06-30
-0.411352
-0.220789
0.713363
-2.204255
Querétaro
Estados_Nacionales
23
23
1960-06-30
-0.072913
0.083154
-0.088223
-0.493571
Quintana Roo
Estados_Nacionales
24
24
1960-06-30
-0.375133
-0.258306
0.530362
-2.286323
San Luis Potosí
Estados_Nacionales
25
25
1960-06-30
-0.243315
-0.112492
0.355778
0.473525
Sinaloa
Estados_Nacionales
26
26
1960-06-30
-0.279632
-0.010466
0.028639
1.176923
Sonora
Estados_Nacionales
27
27
1960-06-30
-0.183761
0.077003
-0.277818
-1.122163
Tabasco
Estados_Nacionales
28
28
1960-06-30
-0.207437
-0.188696
0.168699
-2.11353
Tamaulipas
Estados_Nacionales
29
29
1960-06-30
-0.233637
-0.027778
0.483505
0.047385
Tlaxcala
Estados_Nacionales
30
30
1960-06-30
-0.078609
-0.000242
0.104962
-0.653469
Veracruz
Estados_Nacionales
31
31
1960-06-30
-0.114104
0.082162
-0.175407
-0.288997
Yucatán
Estados_Nacionales
32
32
1960-06-30
-0.438893
-0.183665
0.274401
-2.179007
Zacatecas
Estados_Nacionales
1
1
1961-06-30
-0.35904
-0.084621
0.277666
-3.790308
Aguascalientes
Estados_Nacionales
2
2
1961-06-30
-0.400742
-0.198051
0.022567
-2.83038
Baja California
Estados_Nacionales
3
3
1961-06-30
-0.291385
0.591254
-0.030341
-0.925617
Baja California Sur
Estados_Nacionales
4
4
1961-06-30
0.171747
0.103598
-0.122198
-0.4168
Campeche
Estados_Nacionales
5
5
1961-06-30
-0.139795
-0.344538
0.177745
-0.357726
Coahuila
Estados_Nacionales
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
9