Skip to content

Commit

Permalink
Merge pull request #537 from dween46/patch-1
Browse files Browse the repository at this point in the history
deprecation warning  minimized
  • Loading branch information
emlazzarin authored Oct 29, 2022
2 parents 706975c + 40efa1f commit 0f929a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytrends/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def get_historical_interest(self, keywords, year_start=2018, month_start=1,
try:
self.build_payload(keywords, cat, tf, geo, gprop)
week_df = self.interest_over_time()
df = df.append(week_df)
df = pd.concat([df,week_df], ignore_index = True)
except Exception as e:
print(e)
pass
Expand All @@ -607,7 +607,7 @@ def get_historical_interest(self, keywords, year_start=2018, month_start=1,
try:
self.build_payload(keywords, cat, tf, geo, gprop)
week_df = self.interest_over_time()
df = df.append(week_df)
df = pd.concat([df,week_df] ,ignore_index = True)
except Exception as e:
print(e)
pass
Expand Down

0 comments on commit 0f929a2

Please sign in to comment.