python对TXT文本数据分组统计
txt文档转dataframe写入excel文本格式:市名-区名-街道名# -*- coding: utf-8 -*-import pandas as pdimport numpy as npdf = pd.read_table('no_street.txt')list=[]for i in df.values: print(i[0]) li = i[0].sp...