We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcf7213 commit 6324784Copy full SHA for 6324784
2 files changed
docs/advanced-guide/extending-muse.ipynb
@@ -100,6 +100,7 @@
100
"def consumption_zero(\n",
101
" market: Dataset,\n",
102
" capacity: DataArray,\n",
103
+ " **kwargs,\n",
104
"):\n",
105
" \"\"\"Current consumption.\"\"\"\n",
106
" result = (\n",
@@ -457,6 +458,7 @@
457
458
" sum_over: Optional[list[str]] = None,\n",
459
" drop: Optional[list[str]] = None,\n",
460
" rounding: int = 4,\n",
461
462
463
464
src/muse/outputs/sector.py
@@ -144,6 +144,7 @@ def capacity(
144
market: xr.Dataset,
145
capacity: xr.DataArray,
146
rounding: int = 4,
147
+ **kwargs,
148
) -> pd.DataFrame:
149
"""Current capacity."""
150
result = capacity.to_dataframe().round(rounding)
0 commit comments