You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pandas4Warning: DatetimeIndex.dayofyear is deprecated #2947
We've been getting this warning in our CI pipelines and we'd like to raise it here.
pvlib/tools.py:217: Pandas4Warning: DatetimeIndex.dayofyear is deprecated and will be removed in a future version. Use DatetimeIndex.day_of_year instead.
return _pandas_to_utc(pd_object).dayofyear
and
pvlib/clearsky.py:248: Pandas4Warning: DatetimeIndex.dayofyear is deprecated and will be removed in a future version. Use DatetimeIndex.day_of_year instead.
dayofyear = time_utc.dayofyear
Activity
cwhanse commentedon Nov 16, 2026
This has been addressed in #2924, will be in the next release. Thanks for reporting it.
kandersolar commentedon Nov 21, 2026
Already addressed, so closing.