Python:数据集成

来源:天善智能韦玮老师 课堂笔记
作者:Dust
数据集成技巧

import numpy
a=numpy.array([[1,5,6],[9,4,3]])
b=numpy.array([[6,36,7],[2,3,39]])
c=numpy.concatenate((a,b)) # 整合
print("---a---")
print(a)
print("---b---")
print(b)
print("---c---")
print(c)

全部评论

相关推荐

点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务