Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pvlib/iotools/pvgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ def _coerce_and_roll_tmy(tmy_data, tz, year):
np.roll(tmy_data, tz, axis=0),
columns=tmy_data.columns,
index=new_index)
# GH 2399
new_tmy_data = \
new_tmy_data.astype(dtype=dict(zip(tmy_data.columns, tmy_data.dtypes)))
return new_tmy_data


Expand Down
Loading