当前位置:网站首页>Numpy——1. Creation of array
Numpy——1. Creation of array
2022-07-05 07:35:00 【Hair will grow again without it】
Create array
np.array(object, dtype) or np.arange(start, stop, step, dtype)
object: The object of the created array , Can be a single value , list , Cell, etc .
example:
dtype: data type
- Specify the data type
example:2. Adjust the data type
a.astype("i1")3. Modify the number of floating-point numbers
np.round(array, d)
边栏推荐
- The folder directly enters CMD mode, with the same folder location
- Unforgettable summary of 2021
- Charles- unable to grab bags and surf the Internet
- 公安基础知识--fb
- [untitled]
- How to delete the virus of inserting USB flash disk copy of shortcut to
- CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
- [MySQL] database knowledge record
- I 用c I 实现队列
- Exit of pyGame, idle and pycharm
猜你喜欢

Light up the running light, rough notes for beginners (1)

C learning notes

Ugnx12.0 initialization crash, initialization error (-15)

Shadowless cloud desktop - online computer

Numpy——1.数组的创建

I implement queue with C I

Detailed explanation of miracast Technology (I): Wi Fi display

611. Number of effective triangles

Rough notes of C language (2) -- constants

2022年PMP项目管理考试敏捷知识点(7)
随机推荐
repo. conda. An example of COM path error
HDU1231 最大连续子序列(分治or动规or双指针)
Deepin get file (folder) list
Qu'est - ce que l'hydroxyde de sodium?
NSIS search folder
Microservice registry Nacos introduction
golang定时器使用踩的坑:定时器每天执行一次
What is sodium hydroxide?
Miracast技术详解(一):Wi-Fi Display
I 用c l 栈与队列的相互实现
Exit of pyGame, idle and pycharm
GBK error in web page Chinese display (print, etc.), solution
ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
Basic series of SHEL script (III) for while loop
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
arcpy. SpatialJoin_ Analysis spatial connection analysis
Thunderbird tutorial \ easy to use mail client
Don't confuse the use difference between series / and / *
selenium 元素定位
Numpy——1.数组的创建


3. Modify the number of floating-point numbers 