![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python数据分析
程序员小马z
把别人的东西变为自己的东西!!!
展开
-
探索白葡萄酒的品质
# -*- coding: utf8 -*-"""原因: Python2.x的解释器只认识ASCII编码的py文件解决: =>首行注释告诉解释器文件编码, #coding=utf-8 =>Python3.x"""import csv#1.读取阿比葡萄酒品质的数据with open('white_wine.csv',mode='r') as f: r...原创 2018-03-30 14:38:07 · 5473 阅读 · 3 评论 -
jupyter notebook 文件路径设置
打开 cmd 输入 jupyter notebook 文件路径原创 2018-04-20 11:11:52 · 3437 阅读 · 0 评论 -
重新排列
df.sample(len(df)) 重新排列DataFrame原创 2018-05-25 16:00:12 · 738 阅读 · 0 评论