반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- matplotlib
- google apps script
- Kotlin
- numpy
- list
- Google Excel
- Apache
- dataframe
- Excel
- hive
- Java
- gas
- Redshift
- PANDAS
- Tkinter
- Python
- Google Spreadsheet
- Github
- SQL
- django
- array
- Mac
- PySpark
- 파이썬
- PostgreSQL
- string
- math
- GIT
- c#
Archives
- Today
- Total
목록euler's number (1)
달나라 노트
Redshift : exp (자연 상수 e. Euler's number)
Redshift에서 exp 함수를 이용하면 자연상수를 지수함수처럼 이용할 수 있습니다. Syntax exp(x) exp(x)는 e^x와 같습니다. 지수함수라고 보시면 됩니다. select exp(1), --> 2.718281828459045 exp(0), --> 1 exp(1) - 1, --> 1.718281828459045 1 / exp(1) --> 0.367879441171442 ; exp(1) = e^1 = e = 2.718281828459045 exp(0) = e^0 = 1 exp(1) - 1 = e^1 - 1 = e - 1 = 1.718281828459045 1 / exp(1) = 1 / e^1 = 1 / e = 0.367879441171442
SQL/Redshift
2021. 9. 30. 21:11