当前位置:网站首页>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)
边栏推荐
- Matrix and TMB package version issues in R
- 玩转gRPC—深入概念与原理
- golang定时器使用踩的坑:定时器每天执行一次
- How to modify the file path of Jupiter notebook under miniconda
- Ugnx12.0 initialization crash, initialization error (-15)
- Deepin, help ('command ') output saved to file
- Idea shortcut key
- 数字孪生实际应用案例-风机篇
- CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
- Using GEE plug-in in QGIS
猜你喜欢
Explanation of parallel search set theory and code implementation
Hdu1232 unimpeded project (and collection)
剑指 Offer 56 数组中数字出现的次数(异或)
Using GEE plug-in in QGIS
I 用c l 栈与队列的相互实现
And let's play dynamic proxy (extreme depth version)
Matrix and TMB package version issues in R
Set theory of Discrete Mathematics (I)
And play the little chestnut of dynamic agent
Target detection series - detailed explanation of the principle of fast r-cnn
随机推荐
[untitled]
The mutual realization of C L stack and queue in I
Exit of pyGame, idle and pycharm
Idea shortcut key
When jupyter notebook is encountered, erroe appears in the name and is not output after running, but an empty line of code is added downward, and [] is empty
D2L installation
Differences between pycharm and idle and process -- join() in vs Code
Selenium element positioning
611. 有效三角形的个数
Pit record of Chmod 2 options in deepin
Don't confuse the use difference between series / and / *
Explanation of parallel search set theory and code implementation
Package ‘*****‘ has no installation candidate
I 用c l 栈与队列的相互实现
数字孪生实际应用案例-风机篇
ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
Delayqueue usage and scenarios of delay queue
(top) pretty girl binary color code portal
C learning notes
What is sodium hydroxide?