We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e901d0 commit d5f3397Copy full SHA for d5f3397
weather.py
@@ -165,8 +165,8 @@ def _resample(df):
165
finally down-sampling to 60-minute intervals.
166
"""
167
168
- # Remove all empty rows and columns.
169
- df_res = df.dropna(axis=[0, 1], how='all')
+ # Remove all empty rows.
+ df_res = df.dropna(how='all')
170
171
# Upsample so the time-series has data for every minute.
172
df_res = df_res.resample('1T')
0 commit comments