Skip to content

Commit 384934a

Browse files
committed
Change data types of return values
1 parent c961f9c commit 384934a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

windpowerlib/power_output.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def cp_curve(v_wind, rho_hub, d_rotor, cp_values):
3434
3535
Returns
3636
-------
37-
pandas.Series
37+
pandas.Series or numpy.array
3838
Electrical power output of the wind turbine in W.
3939
4040
Notes
@@ -97,7 +97,7 @@ def cp_curve_density_corr(v_wind, rho_hub, d_rotor, cp_values):
9797
9898
Returns
9999
-------
100-
pandas.Series
100+
pandas.Series or numpy.array
101101
Electrical power of the wind turbine in W.
102102
103103
Notes
@@ -136,7 +136,7 @@ def p_curve(v_wind, p_values):
136136
137137
Returns
138138
-------
139-
pandas.Series
139+
pandas.Series or numpy.array
140140
Electrical power output of the wind turbine in W.
141141
142142
Notes
@@ -175,7 +175,7 @@ def p_curve_density_corr(v_wind, rho_hub, p_values):
175175
176176
Returns
177177
-------
178-
pandas.Series
178+
pandas.Series or numpy.array
179179
Electrical power output of the wind turbine in W.
180180
181181
Notes

0 commit comments

Comments
 (0)