pdf_code/zzb_data_prod/test.py

14 lines
1.6 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
import re
import numpy as np
list1 = [['2将重分类进损益的其他综合收益', '', '-135441.46', '58032.20'], ['1权益法下可转损益的其他综合收益', '', '', ''], ['2其他债权投资公允价值变动', '', '', ''], ['3金融资产重分类计入其他综合收益的金额', '', '', ''], ['4其他债权投资信用减值准备', '', '', ''], ['5现金流量套期储备', '', '', ''], ['6外币财务报表折算差额', '', '-135441.46', '58032.20'], ['7其他', '', '', ''], ['(二)归属于少数股东的其他综合收益的税后净额', '', '', ''], ['七、综合收益总额', '', '-154059285.14', '15109700.10'], ['(一)归属于母公司所有者的综合收益总额', '', '-153881248.66', '15109700.10'], ['(二)归属于少数股东的综合收益总额', '', '-178036.48', ''], ['八、每股收益:', '八、每股收益:', '八、每股收益:', '八、每股收益:'], ['(一)基本每股收益(元/股) -0.6693 0.0715', '(一)基本每股收益(元/股) -0.6693 0.0715', '(一)基本每股收益(元/股) -0.6693 0.0715', '(一)基本每股收益(元/股) -0.6693 0.0715'], ['(二)稀释每股收益(元/股) -0.6693 0.0714', '(二)稀释每股收益(元/股) -0.6693 0.0714', '(二)稀释每股收益(元/股) -0.6693 0.0714', '(二)稀释每股收益(元/股) -0.6693 0.0714']]
# 测试代码
if __name__ == "__main__":
for lines in list1:
line = list(set(lines))
print(line)