自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 idea运行测试时提示错误Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2

在pom 中添加这个依赖 <dependency> <!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:11.5.2 not found errors --> <groupId>org.junit.platform</groupId...

2020-02-23 11:09:25 2698

原创 解决Mac matplotlib.plot 中文字体显示问题,亲测好用!

Mac matplotlib.plot 中文字体显示问题 参考自知乎 https://www.zhihu.com/question/25404709 亲测找到方法中最有效而且便捷。 import matplotlib a=sorted([f.name for f in matplotlib.font_manager.fontManager.ttflist]) for i in a: print ...

2019-12-26 10:48:50 809

原创 Python pandas技巧--行列重命名

pandas 行列重命名1.列重命名1.1. 读取数据时直接进行修改1.2. rename()进行字典映射修改列名1.3. columns 直接进行赋值命名对行进行重命名 1.列重命名 1.1. 读取数据时直接进行修改 data_list=[[2017001,"张三",18], [2017002,"李四",19], [2017003,"王五",18]] # 没有...

2019-12-16 14:02:36 7099

原创 Python 字符串处理篇

一、字符串操作六利器:拆分,修剪,拼接,检测,计数 ,替代1.拆分 split,  str.split(",");2.修剪 strip, rstrip, lstrip str.strip() , 用于修剪空白符(包括换行符);3.拼接 join “:”.join(), 方法传入一个列表或元组;4.检测 in, index, find,rfind in "a" in "abc" 返回结果为bool类

2018-01-17 22:34:20 1526

空空如也

空空如也

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

TA关注的人

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