当前位置:网站首页>numpy vstack 和 column_stack
numpy vstack 和 column_stack
2022-07-04 20:26: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]])
边栏推荐
猜你喜欢

admas零件名重复

Golang中UTF编码和字符集

Jmeter 之压测入门

Advantages of RFID warehouse management system solution

福昕PDF编辑器v10.1.8绿色版

Gobang go to work fishing tools can be LAN / man-machine

Solution of 5g unstable 5g signal often dropped in NetWare r7000 Merlin system

【1200. 最小絕對差】

How does wincc7.5 SP1 find variables and their positions through cross indexing?

y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)
随机推荐
HWiNFO硬件检测工具v7.26绿色版
redis发布订阅的使用
2021 CCPC 哈尔滨 I. Power and Zero(二进制 + 思维)
杰理之AD 系列 MIDI 功能说明【篇】
Go language notes (2) some simple applications of go
记一次重复造轮子(Obsidian 插件设置说明汉化)
【微信小程序】协同工作与发布
shp数据制作3DTiles白膜
redis管道
Configuration of DNS server of Huawei ENSP simulator
redis缓存
colResizable.js自动调整表格宽度插件
What are the functional modules of RFID warehouse management system solution
ACM组合计数入门
LeetCode 7. Integer inversion
【微服务|SCG】Predicate的使用
华为模拟器ensp常用命令
Flutter在 release版本,打开后随机白屏不显示内容
【1200. 最小絕對差】
Gobang go to work fishing tools can be LAN / man-machine