data-analysis:数据分析思路

时间:2021-03-30 14:42:33
【文件属性】:
文件名称:data-analysis:数据分析思路
文件大小:1KB
文件格式:ZIP
更新时间:2021-03-30 14:42:33
数据分析 有用的链接 Jupyter笔记本 安装。 pip install notebook 。 在浏览器上启动一个新的笔记本。 jupyter notebook 大熊猫 安装 pip install pandas 用法 import pandas as pd # Python codes come here 如果/否则逻辑 在SAS中,if / then逻辑可用于创建新列。 参考: : data tips ; set tips ; format bucket $ 4 .; if total_bill < 10 then bucket = 'low' ; else bucket = 'high' ; run ; 可以使用numpy的where方法完成对pandas的相同操作。 In [12]: tips["bucket"] = np.wher
【文件预览】:
data-analysis-main
----README.md(1KB)

网友评论