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 5a610ce commit d0a9215Copy full SHA for d0a9215
windpowerlib/tools.py
@@ -60,8 +60,9 @@ def linear_interpolation_extrapolation(df, target_height):
60
... columns=[np.array(['wind_speed',
61
... 'wind_speed']),
62
... np.array([10, 80])])
63
- >>> round(linear_interpolation_extrapolation(
64
- ... weather_df['wind_speed'], 100)[0], 2)
+ >>> value = linear_interpolation_extrapolation(
+ ... weather_df['wind_speed'], 100)[0]
65
+ >>> round(value * 100) / 100
66
6.86
67
68
"""
0 commit comments