上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 33 下一页
摘要: thinkpad在安装ubuntu16.04之后,设置充电阈值: 方法一: 使用双系统,在windows下使用联想的Lenovo setting center设置之后,在ubuntu之下也可以保持相同值,但是不知道什么原因,过一段时间就会改变。 方法二: 安装TLP在ubuntu进行设置: 添加源: 阅读全文
posted @ 2018-01-02 09:50 Go_Forward 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: 方法一: 直接给column赋值 df.columns=["a", "b"], 所有的column全部重命名 example: 方法二: 使用rename(),可以选择一部分进行重命名。 df.rename(columns={'原列名' : '新列名'}, inplace=True) 阅读全文
posted @ 2017-12-26 15:03 Go_Forward 阅读(1745) 评论(0) 推荐(0) 编辑
摘要: from:https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/ for ubuntu: https://askubuntu.com/questions/981118/correct-way-to-i 阅读全文
posted @ 2017-12-26 14:55 Go_Forward 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 转载请注明出处:http://www.cnblogs.com/buxizhizhoum/p/8086230.html 升级nvidia driver, cuda # 卸载旧版本sudo /usr/bin/nvidia-uninstall sudo /usr/local/cuda/bin/cuda-u 阅读全文
posted @ 2017-12-22 15:29 Go_Forward 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: from:http://blog.csdn.net/qq_21792169/article/details/53152700 最近开始学习linux 在安装输入法中遇到的一些问题,最终成功安装,也得益于网络上的前辈写的文章,现在将全部安装步骤以及遇到的一些问题总结如下: 基本上分三步走 1,添加fc 阅读全文
posted @ 2017-12-22 10:41 Go_Forward 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Process finished with exit code 137 (interrupted by signal 9: SIGKILL) 在使用tensorflow自带的数据集做手写数字识别的时候,总是遇到这个错误,开始以为是模型错误,检查好久,最后发现是因为一次输入的训练数据太大了,内存耗尽。 阅读全文
posted @ 2017-12-16 17:50 Go_Forward 阅读(12722) 评论(0) 推荐(0) 编辑
摘要: data_dict = {"a":1, "b":2} data_json = json.dumps(data_dict) data_escape = MySQLdb.escape_string(data_json) # 需要进行编码,否则无法插入 sql = "insert into <table_ 阅读全文
posted @ 2017-12-11 19:26 Go_Forward 阅读(7442) 评论(0) 推荐(0) 编辑
摘要: select * from information_schema.processlist 查询所有连接到数据库的进程信息。 阅读全文
posted @ 2017-12-01 14:37 Go_Forward 阅读(845) 评论(0) 推荐(0) 编辑
摘要: if语句: 用法和excel的if函数很像 if(expr1, value_if_expr1_is_true, value_if_expr1_is_false) select if(tag = 3, 3, 0) as tag from database_name.table_name; # if t 阅读全文
posted @ 2017-11-22 16:53 Go_Forward 阅读(209) 评论(0) 推荐(0) 编辑
摘要: http://meiyitianabc.blog.163.com/blog/static/10502212720133192489840/ 阅读全文
posted @ 2017-11-03 16:54 Go_Forward 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 33 下一页