当前位置:网站首页>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éesa.astype("i1")
3. Modifier le nombre de chiffres flottantsnp.round(array, d)
边栏推荐
- 玩转gRPC—深入概念与原理
- Rough notes of C language (2) -- constants
- [node] differences among NPM, yarn and pnpm
- Play with grpc - go deep into concepts and principles
- Altimeter data knowledge point 2
- Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
- Delayqueue usage and scenarios of delay queue
- Apple system shortcut key usage
- The mutual realization of C L stack and queue in I
- Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
猜你喜欢
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
The problem of configuring opencv in qt5.13.2 is solved in detail
How to delete the virus of inserting USB flash disk copy of shortcut to
Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
Don't confuse the use difference between series / and / *
行测--资料分析--fb--高照老师
I 用c l 栈与队列的相互实现
Oracle-触发器和程序包
The number of occurrences of numbers in the offer 56 array (XOR)
Build your own random wallpaper API for free
随机推荐
list. files: List the Files in a Directory/Folder
Web page Chinese display (print, etc.) GBK error, solution, software
deepin 20 kivy unable to get a window, abort
公安专业知识--哔哩桐老师
Eclipse project recompile, clear cache
公安基础知识--fb
Close of office 365 reading
Anaconda pyhton multi version switching
Build your own random wallpaper API for free
Basic operation of external interrupt (keil5)
HDU1232 畅通工程(并查集)
Apple system optimization
What is deep learning?
SQL JOINS
What is sodium hydroxide?
Simple operation of nixie tube (keil5)
editplus
Process (P) runs, and idle is different from pycharm
The problem of configuring opencv in qt5.13.2 is solved in detail
Basic knowledge of public security -- FB