Skip to content

Commit f27be71

Browse files
committed
Add data types to docstring
1 parent 6dd290d commit f27be71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

windpowerlib/tools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ def smallest_difference(value_1, value_2, comp_value, corresp_1, corresp_2):
2828
Second value for comparison.
2929
comp_value : float
3030
Comparative value.
31-
corresp_1 : float
31+
corresp_1 : pd.Series or np.array or float
3232
Corresponding value to `value_1`.
33-
corresp_2 : float
33+
corresp_2 : pd.Series or np.array or float
3434
Corresponding value to `value_2`.
3535
3636
Returns
3737
-------
38-
Tuple(float, float)
38+
Tuple(float, pd.Series or np.array or float)
3939
Value closer to comparing value as float and its corresponding value as
4040
float.
4141

0 commit comments

Comments
 (0)