Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
Make docstring match typehints
  • Loading branch information
donni-h authored and gutzbenj committed Feb 28, 2024
1 parent e29fc77 commit 3e58dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wetterdienst/provider/dwd/observation/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def parse_climate_observations_data(
date field
period: enumeration of period of data
Returns:
pandas.DataFrame with requested data, for different station ids the data is
polars.LazyFrame with requested data, for different station ids the data is
still put into one DataFrame
"""
if resolution is Resolution.SUBDAILY and dataset is DwdObservationDataset.WIND_EXTREME:
Expand Down Expand Up @@ -125,7 +125,7 @@ def _parse_climate_observations_data(
resolution: enumeration of time resolution used to correctly parse the
date field
Returns:
pandas.DataFrame with data from that station, acn be empty if no data is
polars.LazyFrame with data from that station, acn be empty if no data is
provided or local file is not found or has no data in it
"""
filename, file = filename_and_file
Expand Down

0 comments on commit 3e58dac

Please sign in to comment.