安安茶茶

没有谁会为你踏雪而来,喜欢的风景要躬亲筚路。人生有什么意义,接受赠予+22181803=VQ

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

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 长虫山小木屋 阅读(465) 评论(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 长虫山小木屋 阅读(3484) 评论(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 长虫山小木屋 阅读(690) 评论(0) 推荐(0)