| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- Lotto
- ipad
- Button
- SciPy
- imread
- 삼성소프트웨어멤버십
- pandas
- LSTM
- Python
- index
- GitHub
- GT-S80
- Numpy
- SPL
- DFS
- pip
- install
- keras
- Splunk
- 알고리즘
- dataframe
- synology
- mariadb
- RNN
- E-P1
- javascript
- pycharm
- CNN
- mean
- Series
Archives
- Today
- Total
잠토의 잠망경
[numpy] np.power() 본문
np.power()
import numpy as np
x1 = range(6)
print(np.power(x1,3))
#[0,1,8,27,64,125]
x2 = [1.0, 2.0, 3.0, 3.0, 2.0,1.0]
print(np.power(x1,x2))
#[0., 1., 8., 27., 16., 5]
제곱, a^b
Comments