2018年5月28日

numpy中的reshape中参数为-1

摘要: 上篇文章中的reshape(-1,2),有的时候不明白为什么会有参数-1,可以通过查找文档中的reshape()去理解这个问题 根据Numpy文档(https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html#nump 阅读全文

posted @ 2018-05-28 11:41 多一点 阅读(28593) 评论(2) 推荐(5) 编辑

pandas 中的DataFrame.where()使用

摘要: pandas.DataFrame.where inplace : boolean, default False Whether to perform the operation in place on the data axis : alignment axis if needed, default 阅读全文

posted @ 2018-05-28 11:35 多一点 阅读(27347) 评论(0) 推荐(1) 编辑

导航