- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 Numpy中行向量的转置:.T
新建一个行向量yy = [0,0,0,1, 1 ,1 ,1, 1 ,1, 1, 1, 2 ,2 ,2, 2 ,2 ,3 ,3, 3, 3]>>> y=np.array([y])>>> yarray([[0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3]])y的转置为tt=np.array([...
2018-04-03 13:26:07 11442
原创 dataframe中的去重操作:drop_duplicates
# drop duplicate interactions within the same sessiondata_1.drop_duplicates(subset=['sessionId','itemId'],keep='first', inplace=True)DataFrame.drop_duplicates(subset=None, keep='first', inplace=Fa...
2018-04-03 10:59:35 2098
UART.h c语言编写
2011-12-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人