We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f546a7a commit 1492b78Copy full SHA for 1492b78
src/frequenz/lib/notebooks/solar/maintenance/models.py
@@ -21,7 +21,7 @@
21
import pandas as pd
22
import pvlib
23
from numpy.typing import NDArray
24
-from pandas import Series
+from pandas import Index, Series
25
from pvlib.location import Location
26
from pvlib.modelchain import ModelChain
27
from pvlib.pvsystem import Array, FixedMount, PVSystem
@@ -554,7 +554,7 @@ def _get_pvgis_hourly(
554
555
def _align_predictions_to_index(
556
predictions: NDArray[np.float64],
557
- reference_index: pd.Index[Any],
+ reference_index: "Index[Any]",
558
) -> SeriesFloat:
559
"""Align predictions to a reference index, padding with NaNs if necessary.
560
0 commit comments