Python读写csv或txt文件存入二维数组

import pandas as pd
data = pd.read_csv("Apool0.txt", sep=',', header=None)
columns = []
for col in range(len(data.columns)):
    columns.append(col)
print (data[0][0])

posted @ 2018-05-22 10:04  The_kat  阅读(2654)  评论(0编辑  收藏  举报