立即学习:https://edu.youkuaiyun.com/course/play/25821/314130?utm_source=blogtoedu
1. Pandas数据导入
1.1 将txt中的冒号转化为分割:
修改列名:
pd.read_table('./统计于分析模块Pandas/03.txt',sep=':',header=None,names=['name','pwd','uid','gid','local','home','shell'])
#name:用户名;pwd:密码;gid:主id;local:定位的数组目录
1.2 csv导入:
1.3 excel导入:
1.4 html导入: