shixin_zhixing_defend_PINGAN.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:forward 作者: yajun0601 项目源码 文件源码
def pingan_trust():
    result = get_total(start_date=START_DATE,end_date='2016-05-10')
#    issuers = pd.read_excel('????-SW??-????.xlsx',sheetname=[0], header = 0)[0]
#    issuers = my_db.getCompanyList()
    issuers = pd.read_excel('../peace/??????.xlsx',sheetname=[0], header = 0)[0]
    issuers.columns= ['name']
    focus = issuers.merge(result, on='name', how='left')

    focus = focus.sort_values('??',axis=0,ascending=False)
    import time
    time_str = time.strftime('%Y%m%d',time.localtime(time.time()))
    focus['rptDate']=time_str

    insert_into_db(focus)     

    report = focus.dropna(axis=0, how='any',thresh=3)
    report.to_excel("shixin_zhixing_bank.xlsx")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号