当前位置:网站首页>Numpy vstack and column_ stack
Numpy vstack and column_ stack
2022-07-04 21:22:00 【Harrytsz】
import numpy as np
>>> np.hstack(([1,2,3],[4,5,6]))
array([1, 2, 3, 4, 5, 6])
>>> np.vstack(([1,2,3],[4,5,6]))
array([[1, 2, 3],
[4, 5, 6]])
>>> np.column_stack(([1,2,3],[4,5,6]))
array([[1, 4],
[2, 5],
[3, 6]])
边栏推荐
- 【1200. 最小绝对差】
- 嵌入式TC 测试用例
- Can be displayed in CAD but not displayed in print
- 杰理之增加进关机前把触摸模块关闭流程【篇】
- Huawei ENSP simulator enables devices of multiple routers to access each other
- 【optimtool.unconstrain】无约束优化工具箱
- Test case (TC)
- In the release version, the random white screen does not display the content after opening the shutter
- redis管道
- Huawei simulator ENSP common commands
猜你喜欢
D3.js+Three.js数据可视化3d地球js特效
华为ensp模拟器 实现多个路由器的设备可以相互访问
华为ensp模拟器 DNS服务器的配置
A quick start to fastdfs takes you three minutes to upload and download files to the ECS
redis03——Redis的网络配置与心跳机制
B站视频 声音很小——解决办法
迈动互联中标北京人寿保险
每日一题-LeetCode556-下一个更大元素III-字符串-双指针-next_permutation
shp数据制作3DTiles白膜
Jerry added the process of turning off the touch module before turning it off [chapter]
随机推荐
nmap扫描
杰理之AD 系列 MIDI 功能说明【篇】
Maya lamp modeling
NetWare r7000 Merlin system virtual memory creation failed, prompting that the USB disk reading and writing speed does not meet the requirements. Solution, is it necessary to create virtual memory??
Maidong Internet won the bid of Beijing life insurance
Jerry's ad series MIDI function description [chapter]
redis事务
shp数据制作3DTiles白膜
华为ensp模拟器 三层交换机
杰理之AD 系列 MIDI 功能说明【篇】
go defer的使用说明
redis管道
巅峰不止,继续奋斗!城链科技数字峰会于重庆隆重举行
基于OpenCV haarcascades的对象检测
Billions of citizens' information has been leaked! Is there any "rescue" for data security on the public cloud?
Jerry's ad series MIDI function description [chapter]
Huawei ENSP simulator enables devices of multiple routers to access each other
What are the functional modules of RFID warehouse management system solution
colResizable.js自动调整表格宽度插件
Embedded TC test case