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 65e5781 commit 0fb61e7Copy full SHA for 0fb61e7
windpowerlib/modelchain.py
@@ -442,7 +442,7 @@ def run_model(self, weather_df):
442
# Convert data heights to integer. In some case they are strings.
443
weather_df.columns = pd.MultiIndex.from_arrays([
444
weather_df.columns.get_level_values(0),
445
- weather_df.columns.get_level_values(1).astype(int)])
+ pd.to_numeric(weather_df.columns.get_level_values(1))])
446
447
wind_speed_hub = self.wind_speed_hub(weather_df)
448
density_hub = (None if (self.power_output_model == 'power_curve' and
0 commit comments