How to create 'Python numpy array? How to add and remove elements in Python numpy array? Numpy Less1

preview_player
Показать описание
---PYTHON NUMPY LESSON 1
How to install numpy package? How to import numpy package?
How to create "Python numpy array? How to add and remove elements in Python numpy array?

----numpy array Exercise 1
Exercise # 1 Create numpy array
1. Create numpy string array Country (Pakistan, India, USA, UK, Sudan)
2. Create numpy int array NoOfVolunteers (15000, 10000, 5000, 40000, 25000)
3. Print both arrays one by one
4. Add new country Japan to array country
5. Add new value of volunteers 10000 to NoOfVolunteers array
6. Print both arrays one by one
7. Remove values from both of the arrays at index 0
8. Print both arrays
Run the code to check output
Рекомендации по теме
welcome to shbcf.ru