+
    ȜiW                     V    R t ^ RIt^ RItR R lt]R8X  d   ]! 4       t]! ]4       R# R# )ue   
Date: 2024/4/17 19:00
Desc: 数库-A股新闻情绪指数
https://www.chinascope.com/reasearch.html
Nc                8    V ^8  d   QhR\         P                  /# )   return)pd	DataFrame)formats   "g/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/akshare/index/index_zh_a_scope.py__annotate__r	      s      BLL     c                    Rp RR/p\         P                  ! WR7      pVP                  4       p\        P                  ! V4      pVP                  RRRRR	R
/RR7       V. RO,          p\        P                  ! VR,          RR7      P                  P                  VR&   \        P                  ! VR,          RR7      VR&   \        P                  ! VR
,          RR7      VR
&   V# )u   
数库-A股新闻情绪指数
https://www.chinascope.com/reasearch.html
:return: A股新闻情绪指数
:rtype: pandas.DataFrame
z,https://www.chinascope.com/inews/senti/indexperiodYEAR)urlparams	tradeDate   日期maIndex1   市场情绪指数marketClose   沪深300指数T)columnsinplacecoerce)errors)r   r   r   )
requestsgetjsonr   r   renameto_datetimedtdate
to_numeric)r   r   r	data_jsontemp_dfs        r   index_news_sentiment_scoper%      s     9CF,AIll9%GNN,,

    	
G wx'8JMMRRGH$&MM':N2OX`$aG !!#w7H/IRZ![GNr
   __main__)__doc__pandasr   r   r%   __name__index_news_sentiment_scope_dfprint r
   r   <module>r-      s9     B z$>$@!	
'( r
   