当前位置:网站首页>Nombre - 1. Création de tableaux
Nombre - 1. Création de tableaux
2022-07-05 07:35:00 【Les cheveux repoussent quand ils sont partis.】
Créer un tableau
np.array(object, dtype) or np.arange(start, stop, step, dtype)
object:Objet du tableau créé,Peut être une seule valeur,Liste,Cellule cellulaire, etc..
example:
dtype: Type de données
- Spécifier le type de données
example:2. Ajuster le type de données
a.astype("i1")3. Modifier le nombre de chiffres flottants
np.round(array, d)
边栏推荐
- Today, share the wonderful and beautiful theme of idea + website address
- Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
- The golang timer uses the stepped pit: the timer is executed once a day
- Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)
- Rough notes of C language (2) -- constants
- 2022 PMP project management examination agile knowledge points (7)
- Typescript get timestamp
- Web page Chinese display (print, etc.) GBK error, solution, software
- Idea shortcut key
- String alignment method, self use, synthesis, newrlcjust
猜你喜欢

CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)

Ue5 hot update - remote server automatic download and version detection (simplehotupdate)

Deepin get file (folder) list

What if the DataGrid cannot see the table after connecting to the database

The folder directly enters CMD mode, with the same folder location

Rough notes of C language (2) -- constants

Hdu1232 unimpeded project (and collection)

I 用c l 栈与队列的相互实现

Play with grpc - go deep into concepts and principles

Microservice registry Nacos introduction
随机推荐
数字孪生实际应用案例-风机篇
How to modify the file path of Jupiter notebook under miniconda
static的作用
[untitled]
Leetcode solution - number of islands
公安专业知识--哔哩桐老师
611. 有效三角形的个数
What is sodium hydroxide?
NSIS search folder
Process (P) runs, and idle is different from pycharm
Cookie operation
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
"Source code interpretation" famous programmer TJ's only library
Professional knowledge of public security -- teacher bilitong
Typescript get timestamp
Apple script
What if the DataGrid cannot see the table after connecting to the database
What does soda ash do?
C learning notes
Matrix and TMB package version issues in R


2. Ajuster le type de données
3. Modifier le nombre de chiffres flottants