Max Ghenis
Max Ghenis
Here's my workaround: since aggregate geos are returned first, I get the index of the final aggregate geo ("World") and remove all geos with that index or lower. Example: ```...
I'm not familiar with `pandera` and not clear exactly on your question, but you can lookup a column in `pandas` with list comprehension or vectorization: ```python df = pd.DataFrame(dict(code=["FR", "US"]))...
Seems like this is now addressed in the README, which states in the `top_charts` section: >Note Google removed support for monthly queries (e.g. YYYY-MM)
Would the [`pandas.DataFrame.to_json()`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_json.html) function work for you?
In the interim, it would be helpful to warn users that DMA/CITY/REGION are only implemented for the US at present. For example, I got a 500 error when using `pytrend.interest_by_region(resolution='REGION')`...
Yep, e.g. this gets a trend on the sample keywords for California: ``` from pytrends.request import TrendReq pytrend = TrendReq() pytrend.build_payload(kw_list=['pizza', 'bagel'], geo='US-CA') interest_over_time_df = pytrend.interest_over_time() print(interest_over_time_df.head()) ```
LGTM (adding a test would be nice too though). From [this notebook](https://colab.research.google.com/drive/1I4vzsIKyqMtVlcPdIFlKHlDet_LXrZZd#scrollTo=zStq38i9VZIK):  Which matches https://trends.google.com/trends/explore?date=today%205-y&geo=US-CA-803&q=pizza,bagel 
Thanks @mmcky, this is good to know. `jupyter-book` looks cool, would you recommend users try that instead of `jupinx`? I just started with `jupinx` a couple days ago, and am...
Thanks @jdebacker, what's currently in there should be a good start. Do you know if PSID family units also include elderly dependents? I couldn't find fields on this, and seems...
To be specific, here's how I think we can calculate each metric used for the UBI: ``` nu18 = (head_age < 18) + (spouse_age < 18) + num_children_under18 # Temp:...