Skip to content

Commit 5da62e0

Browse files
committed
replaced DataFrame by Series in the docstring
The input parameter has to be a float or a Series not a DataFrame.
1 parent 46ad0db commit 5da62e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pvlib/irradiance.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,20 +408,20 @@ def globalinplane(AOI, DNI, In_Plane_SkyDiffuse, GR):
408408
Parameters
409409
----------
410410
411-
AOI : float or DataFrame
411+
AOI : float or Series
412412
Angle of incidence of solar rays with respect
413413
to the module surface, from :func:`aoi`.
414414
AOI must be >=0 and <=180.
415-
416-
DNI : float or DataFrame
415+
416+
DNI : float or Series
417417
Direct normal irradiance (W/m^2), as measured
418418
from a TMY file or calculated with a clearsky model.
419419
420-
In_Plane_SkyDiffuse : float or DataFrame
420+
In_Plane_SkyDiffuse : float or Series
421421
Diffuse irradiance (W/m^2) in the plane of the modules, as
422422
calculated by a diffuse irradiance translation function
423423
424-
GR : float or DataFrame
424+
GR : float or Series
425425
a scalar or DataFrame of ground reflected irradiance (W/m^2),
426426
as calculated by a albedo model (eg. :func:`grounddiffuse`)
427427

0 commit comments

Comments
 (0)