长虫山小木屋

没有谁会为你踏雪而来 喜欢的风景要躬亲筚路

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理
  115 随笔 :: 0 文章 :: 6 评论 :: 90332 阅读

04 2020 档案

摘要:import datetime def PowerSetsBinary(items):#1,二进制方法 N = len(items) # generate all combination of N items # enumerate the 2**N possible combinations re 阅读全文
posted @ 2020-04-16 19:58 长虫山小木屋 阅读(447) 评论(0) 推荐(0) 编辑

摘要:不多说看代码: import pandas as pd import numpy as np df = pd.DataFrame(np.random.randn(5,4)) df1 = pd.DataFrame(np.random.randn(3,4)) df2 = pd.DataFrame(np. 阅读全文
posted @ 2020-04-13 10:38 长虫山小木屋 阅读(3454) 评论(0) 推荐(0) 编辑

摘要:import pandas as pd data = {"number":[1,1,np.nan,np.nan,2,2,1,2,2], "letter":['a','b',np.nan,np.nan,'c','d','b','c','d'], "label":[1,1,9,9,2,2,1,2,2], 阅读全文
posted @ 2020-04-10 13:23 长虫山小木屋 阅读(652) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示