You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the binary search encounters it in the anchorbank, PyTrends gets the query list: [keyword, keyword] and it doesn't handle when you put the same keyword in. How should we calibrate it if it's already in the gtab?
Possible solutions:
keep the data computed while constructing the gtab and pull frmo there(cons, need to keep the corresponding .pkl files for each gtab)
Prevent the query (keyword, keyword) and instead use the last hit in the binary search twice to construct two (keyword, last_hit) queries, and use the "keyword" data from both to calibrate it
GoogleTrendsAnchorBank/gtab/core.py
Line 889 in f198bdd
@GorjanP, what's up with that? Shouldn't we simply query it?
The text was updated successfully, but these errors were encountered: