![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据分析
文章平均质量分 51
冰冷热带鱼
这个作者很懒,什么都没留下…
展开
-
jupyter-notebook安装与配置
Jupyter notebook安装Nbextensions pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user #如不成功继续输入 jupyter contrib nbextension install --user --skip-running-check #安装yapf conda install yapf 通用配置 import numpy as np import pandas原创 2021-03-14 09:34:35 · 119 阅读 · 0 评论 -
pandas 中处理大型文件的方法
import pandas as pd import numpy as np 读取数据 g1=pd.read_csv(r"F:\_test.csv") g1 查看表的行列信息,有多少行,多少列 g1.shape 查看表的内存信息 g1.info(memory_usage="deep") 查看不同内类型所占用的内存空间大小 for dtype in ["float64","int64","object"]: selected_type=g1.select_dtypes(include=原创 2020-12-06 18:28:14 · 646 阅读 · 1 评论