Skip to content

Commit 53cd167

Browse files
committed
Add reset_index
1 parent 06d35af commit 53cd167

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/muse/investments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def scipy_match_demand(
310310

311311
from muse.constraints import ScipyAdapter
312312

313-
df_technologies = technologies.to_dataframe()
313+
df_technologies = technologies.to_dataframe().reset_index()
314314

315315
if "timeslice" in costs.dims and timeslice_op is not None:
316316
costs = timeslice_op(costs)

0 commit comments

Comments
 (0)