我正在使用pytrend进行一些基本数据分析。这是我的代码
from pytrends import dailydata
df = dailydata.get_daily_data('blockchain',2020,4,5,geo = '')
结果如下:
我正在努力理解每一列的含义。谁能解释一下?
我也有同样的疑问,并在此网站上找到了正确答案:
https://raw.githubusercontent.com/GeneralMills/pytrends/master/pytrends/dailydata.py
https://medium.com/@yanweiliu/getting-the-google-trends-data-with-python-67b335e7d1cf
Returns:
complete (pd.DataFrame): Contains 4 columns.
The column named after the word argument contains the daily search
volume already scaled and comparable through time.
The column f'{word}_unscaled' is the original daily data fetched
month by month,and it is not comparable across different months
(but is comparable within a month).
The column f'{word}_monthly' contains the original monthly data
fetched at once. The values in this column have been backfilled
so that there are no NaN present.
The column 'scale' contains the scale used to obtain the scaled
daily data.