上一页 1 ··· 7 8 9 10 11

2019年5月3日

xgboost

摘要: 参考:https://blog.csdn.net/han_xiaoyang/article/details/52665396 https://dnc1994.com/2016/04/rank-10-percent-in-first-kaggle-competition/ http://www.mux 阅读全文

posted @ 2019-05-03 19:17 吃我一枪 阅读(78) 评论(0) 推荐(0) 编辑

2019年4月29日

常见报错

摘要: 1 报错 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcb in position 2 解决: https://blog.csdn.net/weixin_40198632/article/details/81002330 2 命名程序时 阅读全文

posted @ 2019-04-29 12:43 吃我一枪 阅读(444) 评论(0) 推荐(0) 编辑

pycharm使用技巧

摘要: 1 程序替换某一个词 https://blog.csdn.net/xu380393916/article/details/81077415 http://www.mamicode.com/info-detail-2324327.html 2 注释颜色设置 settings->Editor->Colo 阅读全文

posted @ 2019-04-29 09:34 吃我一枪 阅读(173) 评论(0) 推荐(0) 编辑

可视化基础

摘要: 1 基本曲线图 如下picture是一个dataframe格式的数据,以yearmonthday为横轴,ggid为纵轴。 阅读全文

posted @ 2019-04-29 08:32 吃我一枪 阅读(89) 评论(0) 推荐(0) 编辑

2019年4月25日

list用法

摘要: 1 查看两个list的交并差 http://www.cnblogs.com/jlf0103/p/8882896.html 2 将一个list中的元素反序 reversed()前要加list https://www.runoob.com/python3/python3-func-reversed.ht 阅读全文

posted @ 2019-04-25 11:41 吃我一枪 阅读(197) 评论(0) 推荐(0) 编辑

2019年4月24日

时间用法

摘要: 1 时间戳 test_sample中是已知的时间戳 如上将时间戳转化为具体的时间 参考:https://www.cnblogs.com/jfl-xx/p/8024596.html 2 时间字符串与标准时间格式的转化 https://www.cnblogs.com/huzhe123/p/9308057 阅读全文

posted @ 2019-04-24 15:40 吃我一枪 阅读(242) 评论(0) 推荐(0) 编辑

2019年4月23日

numpy用法

摘要: 1 数据类型转换 https://blog.csdn.net/A632189007/article/details/77989287 2 NumPy中创建特殊值 np.nan np.inf nan表示数据空缺 inf表示无穷 参考:https://www.cnblogs.com/haoxi/p/91 阅读全文

posted @ 2019-04-23 11:56 吃我一枪 阅读(168) 评论(0) 推荐(0) 编辑

映射函数

摘要: 1 apply 阅读全文

posted @ 2019-04-23 09:28 吃我一枪 阅读(237) 评论(0) 推荐(0) 编辑

dataframe基础

摘要: 1 当不知道dataframe的列名,但想要输出该列时,可用iloc()函数实现. import pandas as pd a = pd.DataFrame({'k':[3,4,5,6], 'b':[4,4,2,3], 'c':[4,5,6,3]}) print(a.iloc[:,0]) # 0 4 阅读全文

posted @ 2019-04-23 09:11 吃我一枪 阅读(334) 评论(0) 推荐(0) 编辑

2019年4月22日

merge()函数

摘要: 1 用于融合的函数 https://blog.csdn.net/brucewong0516/article/details/82707492 pd.merge(left, right, how='inner', on=None, left_on=None, right_on=None, left_i 阅读全文

posted @ 2019-04-22 18:39 吃我一枪 阅读(5456) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11

导航