Skip to content

Commit 8e1f60e

Browse files
Omesh37cwhanse
andauthored
Update pvlib/irradiance.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
1 parent d26f8a8 commit 8e1f60e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pvlib/irradiance.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,9 +2108,6 @@ def _dirint_bins(times, kt_prime, zenith, w, delta_kt_prime):
21082108
-------
21092109
tuple of kt_prime_bin, zenith_bin, w_bin, delta_kt_prime_bin
21102110
"""
2111-
# Ensure scalar inputs are converted to Series so that boolean masks
2112-
# produce a boolean Series rather than a scalar bool.
2113-
# Scalar bools cause KeyError in pandas >= 2.0. GH #XXXX
21142111

21152112
# @wholmgren: the following bin assignments use MATLAB's 1-indexing.
21162113
# Later, we'll subtract 1 to conform to Python's 0-indexing.

0 commit comments

Comments
 (0)