- Numpy
Numpy package๋ฅผ ๋ถ๋ฌ์ค๋ ค๋ฉด install์ ํด์ค ๋ค import๋ฅผ ํด์ค์ผํ๋ค.

- ๊ทธ๋ฅ์ type์ด ๋ฌ๋ผ์ ๋์ง ์๋ ์ฐ์ฐ๋ numpy๋ฅผ ์ฌ์ฉํ๋ฉด ๋ฆฌ์คํธ์ ์์๋๋ก ์ฐ์ฐ์ด ๊ฐ๋ฅํ๋ค.

- python list ๋ผ๋ฆฌ ๋ํด์ฃผ๋ฉด ๊ฐ์ ๊ฐ์ ์์๋๋ก ๋ฐ๋ณตํด์ฃผ๋ ๋ชจ์ต์ ๋ณผ ์ ์๋๋ฐ,
numpy array ๋ผ๋ฆฌ ๋ํด์ฃผ๋ฉด ๊ฐ์ index์ ์๋ ๊ฐ๋ค์ ๋ํด์ฃผ๋ ๊ฒ์ ํ์ธํ ์ ์๋ค.

- list์์ > 23 ์ ํ ๊ฒฝ์ฐ bool type ์ผ๋ก True, False ๊ฐ์ ์ถ๋ ฅํ๋ฉฐ
list[list>23] ๊ณผ ๊ฐ์ด list์์ ๋ฃ์ด์ค๋ค๋ฉด ๊ทธ ์๋ ๊ฐ์ ์ถ๋ ฅํ๋ค.

- ์ฐ์ต

์ฌ๋ผ์ด๋ ์ถ์ฒ : Datacamp - Datascientist with python
https://campus.datacamp.com/courses/intro-to-python-for-data-science/chapter-4-numpy?ex=1
'๐ฉ๐ปโ๐ป DataScientist for Python > DataCamp' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| Introduction to Python 7 - NumPy : Basic Statistics (0) | 2022.09.13 |
|---|---|
| Introduction to Python 6 - 2D NumPy Arrays (0) | 2022.09.13 |
| Introduction to Python 4 - Method (0) | 2022.09.13 |
| Introduction to Python 3 - Function (0) | 2022.09.12 |
| Introduction to Python 2 - Manipulating List (0) | 2022.09.12 |