🐍Python/Numpy

    [Numpy] Numpy 연습문제 1~10

    1. Import the numpy package under the name-> import numpy as np 2. Print the numpy version and the configuration -> print(np.__version__) 3. Create a null vector of size 10-> z= np.zeros(10) print(z) A : [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.] 해설 : np.zeros를 통해 N개의 0으로 채워진 array를 구성할 수 있다. 4. How to find the memory size of any array-> z = np.zeros((10,10)) print("%d bytes" % (z.size* z.itemsize)) A : 80..

    Numpy Exercise 100

    https://github.com/rougier/numpy-100 Numpy Exercise 100 문제 정리입니다