pandas读取,写入txt文件
[*]from pandas import DataFrame
[*]
import pandas as pd
[*]
[*]
[*]
da = pd.read_table('a.txt',header = None,delim_whitespace=True)
[*]
[*]
[*]M = da['F'].value_counts()
[*]
[*]
M.to_csv('CS.txt')
https://blog.csdn.net/weixin_42199636/article/details/82690782
页:
[1]