上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: pd.set_option('display.float_format', lambda x: '%.3f' % x) 参考文献: https://www.jianshu.com/p/9bfe9aeeb8a6 阅读全文
posted @ 2019-08-22 17:48 jhc888007 阅读(4500) 评论(0) 推荐(0) 编辑
摘要: join on的keys组合起来为关联键,把重复关联键少的表放在join前面做关联可以提高join的效率 参考文献: http://blog.sina.com.cn/s/blog_6ff05a2c01016j7n.html https://www.cnblogs.com/zhzhang/p/3747 阅读全文
posted @ 2019-08-19 16:43 jhc888007 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: \[\begin{array}{l}ceiling(\frac{x}{y}) = floor(\frac{{x + (y - 1)}}{y})\\floor(\frac{x}{y}) = ceiling(\frac{{x - (y - 1)}}{y})\end{array}\] 阅读全文
posted @ 2019-08-18 18:19 jhc888007 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 添加 或 参考文献: https://blog.csdn.net/qq_40488484/article/details/89113678 阅读全文
posted @ 2019-08-18 12:25 jhc888007 阅读(3000) 评论(0) 推荐(1) 编辑
摘要: 添加:tf.app.flags.DEFINE_string('f', '', 'kernel') 参考文献: https://blog.csdn.net/qq_35455503/article/details/86308556 阅读全文
posted @ 2019-08-18 12:21 jhc888007 阅读(1375) 评论(0) 推荐(1) 编辑
摘要: 主线程启动多个子线程后,默认情况下(即setDaemon(False)),主线程执行完后即退出,不影响子线程继续执行 如果设置setDaemon(True),则主线程执行完后,在退出前会杀死所有子进程 如果加上join,则主进程会在对应位置阻塞等待子线程结束 如果设置timeout,则对应等待语句最 阅读全文
posted @ 2019-08-15 17:16 jhc888007 阅读(175) 评论(0) 推荐(0) 编辑
摘要: git fetch --all && git reset --hard origin/master && git pull 参考文献: https://blog.csdn.net/sinat_36184075/article/details/80115000 阅读全文
posted @ 2019-07-01 14:30 jhc888007 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 创建表 drop table if exists mydatabase.test;create table mydatabase.test (id int, name string, timestring string, salary double, bonus double) row format 阅读全文
posted @ 2019-06-25 19:57 jhc888007 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 200字节以下 find . -size -200c -exec rm {} \; 2k find . -size 2k -exec rm {} \; 1m以上 find . -size +1m -exec rm {} \; 参考文献: https://zhidao.baidu.com/questi 阅读全文
posted @ 2019-05-24 15:25 jhc888007 阅读(712) 评论(0) 推荐(0) 编辑
摘要: Python无法直接访问HBase,必须通过Thrift。 HBase与Thrift之间又支持两种接口标准,两种标准互不兼容,功能也互不覆盖。 Thrift连接HBase还有超时自动断开的大坑。 安装Thrift依赖(Server端) Centos: yum install automake lib 阅读全文
posted @ 2019-04-04 16:52 jhc888007 阅读(2698) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页