自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

转载 Python generator详解

Python generator详解转载:https://www.cnblogs.com/MnCu8261/p/6410594.html

2020-08-07 15:28:03 249

转载 Expected object of type bytes or bytearray, got: <class ‘str‘>

Expected object of type bytes or bytearray, got: <class ‘str’>参考:http://www.3qphp.com/python/scrapy/2827.html

2020-08-06 20:00:34 6356

转载 Pandas matplotlib 画图无法显示中文字体的问题

https://blog.csdn.net/lvshu_yuan/article/details/80413005

2020-08-04 17:58:45 434

转载 基于Python的Anaconda3,导包报错 cannot import name ‘Timestamp‘

https://blog.csdn.net/xufankang/article/details/82871578

2020-08-04 17:04:31 312

转载 python 运用pandas将数据写入同一个excel中的不同sheet

python 运用pandas将数据写入同一个excel中的不同sheet参考:https://blog.csdn.net/wangxingfan316/article/details/79628463?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-

2020-08-02 21:09:10 3248

原创 ‘DataFrame‘ object has no attribute ‘cut‘

‘DataFrame’ object has no attribute ‘cut’**问题:**使用pandas时处理数据运用cut()函数处理数据时报错’DataFrame’ object has no attribute ‘cut’。**原因:**函数调用错误。**解决:**通过pandas库调用cut(),不能直接对数据使用。bins = [df.score.min()-1,400,450,df.score.max()+1]lable = ['一般','较好','优秀']df['类别']

2020-08-02 19:07:45 2452

原创 ‘DataFrame‘ object has no attribute ‘dtype‘或者‘DataFrame‘ object has no attribute ‘str‘

‘DataFrame’ object has no attribute ‘dtype’或者’DataFrame’ object has no attribute ‘str’使用pandas学习数据分析时报错原因:使用函数str.strip()去除空格和函数dtype()查看数据类型时,只能一次对一列进行操作。解决:使用循环语句。df1 = df.copy() #复制一份文件,防止意外a1 = list(df.columns)df[a1]= df1[a1].astype(str)

2020-08-02 18:04:25 9430

原创 HBase相关问题

**学习HBase的相关问题以及解决方法**通过林子雨老师的mooc学习Hadoop相关的知识,搭建HBase的方法,根据老师网站介绍的方法搭建,http://dblab.xmu.edu.cn/blog/2442-2/,分享学习期间遇到的问题,以及解决方法。问题1:查看HBase版本时报错:找不到或无法加载主类 org.apache.hadoop.hbase.util.GetJavaProperty解决方法参考:https://blog.csdn.net/pycrossover/article/d

2020-07-19 13:45:47 143

转载 火狐浏览器“建立安全连接失败”问题,处理方法

火狐浏览器“建立安全连接失败”问题,处理方法系统:ubuntu参考https://blog.csdn.net/qq_42420767/article/details/80861403?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522159498368819195162508899%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=1594

2020-07-17 19:09:11 15056

转载 Windows + Linux 双系统 卸载 Liunx

Windows + Linux 双系统 卸载 Liunx转载:https://blog.csdn.net/fanxueya1322/article/details/90205245

2020-07-17 12:02:16 155

原创 anaconda相关问题

anaconda相关问题一,安装入门参考文章,https://www.jianshu.com/p/eaee1fadc1e9二,修改镜像源参考文章,https://blog.csdn.net/qq_42038319/article/details/103488356

2020-07-16 14:08:54 126

原创 解决PIP安装速度过慢

解决PIP安装速度过慢**问题描述:**使用pip总是超时!**解决方法:**更换镜像源,参考链接:https://www.cnblogs.com/zxyza/p/10050686.html

2020-07-16 12:00:10 285

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除