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 missing columns ({'pf', 'qt', 'pt', 'qf'})

This happened while the json dataset builder was generating data using

hf://datasets/rwl/case-acpf/basecase/gs4.json (at revision 2dcfb7976bb60e86d76f5f6a421bf8707a76e95a)

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
              casename: string
              base_mva: double
              bus_i: list<item: int64>
                child 0, item: int64
              bus_type: list<item: int64>
                child 0, item: int64
              pd: list<item: double>
                child 0, item: double
              qd: list<item: double>
                child 0, item: double
              gs: list<item: double>
                child 0, item: double
              bs: list<item: double>
                child 0, item: double
              vm: list<item: double>
                child 0, item: double
              va: list<item: double>
                child 0, item: double
              base_kv: list<item: double>
                child 0, item: double
              gen_bus: list<item: int64>
                child 0, item: int64
              pg: list<item: double>
                child 0, item: double
              qg: list<item: double>
                child 0, item: double
              vg: list<item: double>
                child 0, item: double
              gen_status: list<item: int64>
                child 0, item: int64
              f_bus: list<item: int64>
                child 0, item: int64
              t_bus: list<item: int64>
                child 0, item: int64
              br_r: list<item: double>
                child 0, item: double
              br_x: list<item: double>
                child 0, item: double
              br_b: list<item: double>
                child 0, item: double
              tap: list<item: double>
                child 0, item: double
              shift: list<item: double>
                child 0, item: double
              br_status: list<item: int64>
                child 0, item: int64
              to
              {'casename': Value(dtype='string', id=None), 'base_mva': Value(dtype='float64', id=None), 'bus_i': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'bus_type': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'pd': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'qd': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'gs': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'bs': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'vm': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'va': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'base_kv': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'gen_bus': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'pg': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'qg': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'vg': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'gen_status': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'f_bus': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 't_bus': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'br_r': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'br_x': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'br_b': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'tap': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'shift': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'br_status': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'pf': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'qf': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'pt': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'qt': Sequence(feature=Value(dtype='float64', id=None), length=-1, 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 4 missing columns ({'pf', 'qt', 'pt', 'qf'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/rwl/case-acpf/basecase/gs4.json (at revision 2dcfb7976bb60e86d76f5f6a421bf8707a76e95a)
              
              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.

casename
string
base_mva
float64
bus_i
sequence
bus_type
sequence
pd
sequence
qd
sequence
gs
sequence
bs
sequence
vm
sequence
va
sequence
base_kv
sequence
gen_bus
sequence
pg
sequence
qg
sequence
vg
sequence
gen_status
sequence
f_bus
sequence
t_bus
sequence
br_r
sequence
br_x
sequence
br_b
sequence
tap
sequence
shift
sequence
br_status
sequence
pf
sequence
qf
sequence
pt
sequence
qt
sequence
ACTIVSg10k
100
[10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,100(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[9.64,15.98,14.39,0.0,10.45,13.44,0.0,0.0,16.82,33.49,32.02,0.0,57.79,0.0,25.01,0.0,25.89,24.47,0.0,(...TRUNCATED)
[2.54,6.04,1.09,0.0,2.75,1.28,0.0,0.0,2.59,15.14,8.17,0.0,30.06,0.0,11.8,0.0,7.16,6.19,0.0,4.54,2.13(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,32.0,0.0,0.0,0.0,0.0,0.(...TRUNCATED)
[1.0116409,1.0170252,1.0314498,1.0324589,1.0324073,1.0255915,1.0256414,1.0243111,1.0242459,1.0230199(...TRUNCATED)
[-39.843601,-37.043319,-34.039098,-33.926182,-33.932471,-35.816633,-35.808499,-34.741944,-34.751218,(...TRUNCATED)
[138.0,138.0,138.0,138.0,138.0,138.0,138.0,138.0,138.0,138.0,138.0,345.0,138.0,138.0,138.0,138.0,138(...TRUNCATED)
[10683,10684,10685,10686,10687,10688,10689,10691,10694,10695,10699,10703,10710,10711,10712,10713,107(...TRUNCATED)
[0.0,85.29,138.65,0.0,120.63,109.93,9.02,59.72,23.02,25.55,79.42,136.3,171.16,189.67,135.95,189.37,0(...TRUNCATED)
[0.0,58.95,58.95,0.0,58.95,58.95,4.95,21.07,4.19,4.19,-14.5,25.92,-10.61,-10.61,-10.61,-10.61,0.0,-1(...TRUNCATED)
[1.0464,1.0203,1.0203,1.0464,1.019,1.0208,1.0014,1.0063,1.0483,1.0484,1.0019,1.0605,1.0096,1.01,1.00(...TRUNCATED)
[0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,0,1,0,0,0,1,0,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,0(...TRUNCATED)
[10002,10011,10014,10004,10003,10937,10004,10004,10006,10008,10007,10007,10008,10016,13019,10014,100(...TRUNCATED)
[10001,10001,10002,10003,10010,10003,10005,10937,10007,10007,13019,13028,10009,10008,10008,10010,100(...TRUNCATED)
[0.057474,0.027895,0.028286,0.012099,0.012423,0.009516,0.000201,0.019482,0.000272,0.00871,0.005848,0(...TRUNCATED)
[0.297874,0.200986,0.132954,0.073288,0.079127,0.050189,0.001173,0.100643,0.001137,0.065557,0.038664,(...TRUNCATED)
[0.04557,0.06271,0.07205,0.01171,0.01766,0.02744,0.0,0.02121,0.0,0.0156,0.02062,0.1879,0.0,0.0301,0.(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[16.69,-6.88,32.96,3.02,20.03,31.49,10.45,-13.46,-13.44,29.08,-37.13,52.7,16.82,53.15,-6.89,13.53,-2(...TRUNCATED)
[-3.33,-4.31,-3.43,0.3,7.04,4.13,2.75,-3.05,-1.28,-6.48,11.74,-18.41,2.6,-5.88,-2.24,4.3,-3.86,-32.2(...TRUNCATED)
[-16.53,6.9,-32.67,-3.02,-19.97,-31.4,-10.45,13.5,13.44,-29.0,37.22,-52.18,-16.82,-52.8,6.9,-13.52,2(...TRUNCATED)
[-0.56,-1.98,-2.71,-1.54,-8.55,-6.59,-2.75,0.95,1.28,5.39,-13.33,1.45,-2.59,4.97,-1.09,-6.59,2.04,39(...TRUNCATED)
ACTIVSg500
100
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED)
[1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2(...TRUNCATED)
[0.0,42.8,0.0,132.69,0.0,3.21,0.0,0.0,0.0,0.0,2.47,0.0,37.16,0.0,0.0,0.0,0.0,0.0,0.0,4.54,0.0,148.7,(...TRUNCATED)
[0.0,11.41,0.0,35.38,0.0,0.86,0.0,0.0,0.0,0.0,0.66,0.0,9.91,0.0,0.0,0.0,0.0,0.0,0.0,1.21,0.0,39.65,0(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[1.0121594,1.0115797,1.0062303,1.0040662,1.0146988,1.0146511,1.0338633,1.0269631,1.04,1.0167054,1.01(...TRUNCATED)
[-10.768348,-10.840156,-12.071857,-12.322717,-1.264301,-1.270407,-6.93107,-8.712158,-4.132565,-13.81(...TRUNCATED)
[138.0,138.0,138.0,138.0,138.0,138.0,345.0,138.0,13.8,138.0,138.0,138.0,138.0,345.0,138.0,13.8,13.8,(...TRUNCATED)
[9,16,17,18,49,50,63,71,72,73,82,125,126,127,128,144,145,167,168,169,197,198,222,223,224,225,231,248(...TRUNCATED)
[771.8,444.45,888.9,157.6,1.3,2.6,0.0,4.0,2.0,1.4,361.9,0.0,0.0,162.0,162.0,602.55,300.55,193.5,193.(...TRUNCATED)
[105.75,84.69,150.17,21.68,0.61,1.21,0.0,1.54,0.77,0.54,41.13,0.0,0.0,26.1,62.21,111.6,127.35,45.92,(...TRUNCATED)
[1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04,1.04(...TRUNCATED)
[1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0(...TRUNCATED)
[2,44,421,4,62,3,6,316,401,8,9,9,7,7,8,8,11,342,10,13,12,12,12,15,16,17,17,18,386,386,15,15,367,15,1(...TRUNCATED)
[1,1,1,3,3,479,5,5,5,7,7,7,232,262,287,457,10,10,349,12,216,304,441,14,14,14,14,14,14,14,91,230,15,3(...TRUNCATED)
[0.000531,0.005479,0.005369,0.000692,0.002718,0.007258,0.000556,0.002445,0.004886,0.000355,0.00012,0(...TRUNCATED)
[0.00314,0.050257,0.051555,0.003518,0.026098,0.069699,0.003563,0.02348,0.04692,0.0129,0.01362,0.0136(...TRUNCATED)
[0.0,0.01781,0.01664,0.0,0.00842,0.0225,0.0,0.00758,0.01515,0.0,0.0,0.0,0.31205,0.23994,0.01155,0.00(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,1.0(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[-42.8,36.34,6.55,-132.69,12.18,-120.65,-3.21,-115.85,120.12,-257.02,385.9,385.9,229.57,284.64,198.2(...TRUNCATED)
[-11.41,7.94,0.69,-35.38,12.15,-23.12,-0.86,33.47,-24.72,-43.88,52.87,52.87,2.25,13.09,21.48,22.4,-0(...TRUNCATED)
[42.81,-36.26,-6.55,132.82,-12.17,121.73,3.21,116.19,-119.4,257.25,-385.73,-385.73,-229.02,-283.92,-(...TRUNCATED)
[11.47,-9.1,-2.38,36.04,-12.92,31.13,0.86,-30.96,30.11,52.2,-33.77,-33.77,-28.1,-28.09,-9.18,-22.33,(...TRUNCATED)
gs4
100
[ 1, 2, 3, 4 ]
[ 3, 1, 1, 2 ]
[ 50, 170, 200, 80 ]
[ 30.99, 105.35, 123.94, 49.58 ]
[ 0, 0, 0, 0 ]
[ 0, 0, 0, 0 ]
[ 1, 1, 1, 1 ]
[ 0, 0, 0, 0 ]
[ 230, 230, 230, 230 ]
[ 4, 1 ]
[ 318, 0 ]
[ 0, 0 ]
[ 1.02, 1 ]
[ 1, 1 ]
[ 1, 1, 2, 3 ]
[ 2, 3, 4, 4 ]
[ 0.01008, 0.00744, 0.00744, 0.01272 ]
[ 0.0504, 0.0372, 0.0372, 0.0636 ]
[ 0.1025, 0.0775, 0.0775, 0.1275 ]
[ 0, 0, 0, 0 ]
[ 0, 0, 0, 0 ]
[ 1, 1, 1, 1 ]
null
null
null
null
pjm5
100
[ 1, 2, 3, 4, 5 ]
[ 2, 1, 2, 3, 2 ]
[ 0, 300, 300, 400, 0 ]
[ 0, 98.61, 98.61, 131.47, 0 ]
[ 0, 0, 0, 0, 0 ]
[ 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1 ]
[ 0, 0,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1, 1, 1, 1, 1, 1, 1 ]
null
null
null
null
README.md exists but content is empty.
Downloads last month
115