摘要:
数据的筛选 # 列的筛选 df.column_name df['column_name'] # 行的筛选 df.loc[condition,:] # 行列的筛选 df.loc[condition,:colunm_list] # example sec_buildings.size sec_build 阅读全文
摘要:
外部数据的读取 文本文件的读取 Example # 文本文件的读取 import pandas as pd text = pd.read_csv('data_test01.txt', sep=',', names=['序号', '出生年', '月份', '日期', '性别', '职位', '薪资'] 阅读全文