
    fik                         d Z ddlmZ ddlZddlZd
dedej        fdZe	dk    r ed	          Z
 ee
           dS dS )uf   
Date: 2025/9/16 21:00
Desc: 天天基金-基金档案
https://fundf10.eastmoney.com/jbgk_015641.html
    )StringION015641symbolreturnc                    d|  d}t          j        |          }t          j        t	          |j                            }t          |          dk    rt          j        g           }nYi }|d                                         D ]'\  }}|d         ||d         <   |d         ||d         <   (t          j        |g          }|S )u   
    天天基金-基金档案-基本概况
    https://fundf10.eastmoney.com/jbgk_015641.html
    :param symbol: 基金代码
    :type symbol: str
    :return: 基本概况
    :rtype: pandas.DataFrame
    z#https://fundf10.eastmoney.com/jbgk_z.htmlr            )	requestsgetpd	read_htmlr   textlen	DataFrameiterrows)r   urlrhtml_contenttemp_dfdf_dict_rows           H/usr/local/lib/python3.11/dist-packages/akshare/fund/fund_overview_em.pyfund_overview_emr      s     >
=
=
=CSA< 0 011L
<A,r"""2&//11 	% 	%FAs!!fGCFO!!fGCFOO,y))N    __main__)r   )r   )__doc__ior   pandasr   r   strr   r   __name__fund_overview_em_dfprint r   r   <module>r'      s                S     4 z**(;;;	E
 r   