Skip to content

Commit

Permalink
Meteostat 1.5.8 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
clampr committed Aug 20, 2021
1 parent b80db6e commit 40a80ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meteostat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"""

__appname__ = 'meteostat'
__version__ = '1.5.7'
__version__ = '1.5.8'

from .interface.base import Base
from .interface.timeseries import Timeseries
Expand Down
2 changes: 1 addition & 1 deletion meteostat/interface/normals.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def fetch(self) -> pd.DataFrame:
temp = copy(self._data)

# Add avg. temperature column
temp.insert(0, 'tavg', temp[['tmin', 'tmax']].mean(
temp.insert(0, 'tavg', temp[['tmin', 'tmax']].dropna(how='any').mean(
axis=1).round(1))

# Remove station index if it's a single station
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Setup
setup(
name='meteostat',
version='1.5.7',
version='1.5.8',
author='Meteostat',
author_email='[email protected]',
description='Access and analyze historical weather and climate data with Python.',
Expand Down

0 comments on commit 40a80ad

Please sign in to comment.