Skip to content

Commit

Permalink
Merge pull request EnergieID#297 from jan-who/master
Browse files Browse the repository at this point in the history
Bugfix: Use pd.concat instead of deprecated pd.Series.append
  • Loading branch information
fboerman authored Feb 5, 2024
2 parents 5518fa9 + 1954491 commit a2acc65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entsoe/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def parse_loads(xml_text, process_type='A01'):
for soup in _extract_timeseries(xml_text):
t = _parse_load_timeseries(soup)
if soup.find('businesstype').text == 'A60':
series_min = series_min.append(t)
series_min = pd.concat([series_min, t])
elif soup.find('businesstype').text == 'A61':
series_max = series_max.append(t)
series_max = pd.concat([series_max, t])
else:
continue
return pd.DataFrame({
Expand Down

0 comments on commit a2acc65

Please sign in to comment.