File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ install_requires =
47
47
xlrd
48
48
pyyaml
49
49
pydot
50
- pandas>=1.1,< 2.1
50
+ pandas>=2.1.4
51
51
Amply>=0.1.6
52
52
networkx
53
53
flatten_dict
Original file line number Diff line number Diff line change @@ -341,8 +341,11 @@ def _expand_defaults(
341
341
df_default ["VALUE" ] = default_values [name ]
342
342
343
343
# combine result and default value dataframe
344
- df = pd .concat ([data , df_default ])
345
- df = df [~ df .index .duplicated (keep = "first" )]
344
+ if not data .empty :
345
+ df = pd .concat ([data , df_default ])
346
+ df = df [~ df .index .duplicated (keep = "first" )]
347
+ else :
348
+ df = df_default
346
349
df = df .sort_index ()
347
350
output [name ] = df
348
351
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ def result_data(region):
265
265
input_data_single_index_empty (region ),
266
266
]
267
267
parameter_test_data_ids = [
268
- "multi_index_no_defaluts " ,
268
+ "multi_index_no_defaults " ,
269
269
"multi_index" ,
270
270
"multi_index_empty" ,
271
271
"single_index" ,
You can’t perform that action at this time.
0 commit comments