분류 전체보기

· Database
in PostgreSQL SELECT FIRST_VALUE(VALUE) OVER(PARTITION BY STOCK_NAME ORDER BY DATE) FROM STOCK; SQL Error [42601]: ERROR: Aggregate window functions with an ORDER BY clause require a frame clause TSLA / 2023-08-13 / 200 TSLA / 2023-08-14 / 210 TSLA / 2023-08-15 / 220 TSLA / 2023-08-16 / 230 first_value를 사용할 때 ODRER BY 구문에서 개별 Row에 대한 DATE를 어떻게 정렬할지 지정되지 않아 생긴 오류 "order by value rows between [fro..
· Python
Sol 1) importlib의 reload( ) 함수 사용 (3.12 이후 imp 지원 X) import example import importlib # make changes to example.py file importlib.reload(example) 기존의 sys.path.module에 등록된 module을 reload 시킨다. 주의 해야할 것은 절대 경로에 없는 module일 경우 절대 경로에 등록을 시켜줘야한다. Sol 2) JupyterNote Book에서 Magic Command로 reload 하는 방법 더보기 https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html autoreload — IPython 8.14..
· Database
PostgreSQL 문법 예제 Table - Ticker information 더보기 NOTE https://www.postgresql.org/docs/current/functions-string.html 9.4. String Functions and Operators 9.4. String Functions and Operators 9.4.1. format This section describes functions and operators for examining and manipulating string values. Strings in … www.postgresql.org 문법에 앞서 PostgreSQL에 사용 되는 문자열 함수와 연산자 사용시 SQL은 쉼표가 아닌 키워드를 사용하여 인수를 구분하는 ..
· Database
https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-SIMILARTO-REGEXP 9.7. Pattern Matching 9.7. Pattern Matching 9.7.1. LIKE 9.7.2. SIMILAR TO Regular Expressions 9.7.3. POSIX Regular Expressions There are three separate approaches to pattern … www.postgresql.org [Postgre Document] 9.7.1. LIKE LIKE 연산자는 SQL 표준에 따라 패턴을 기반으로 문자열을 비교하기 위해 사용됩니다. LIKE 패턴은 다음과 같은 구문으로 사용될 수 있습니다..
· Routine
"문자열의 이스케이프 시퀀스가 잘못됨" + Latex Escape Letter 오류 $z = \mu + \epsilon\sigma$ 바로 Backslash가 JavaScript의 escape 문자로 Google Search Console 크롤러가 \mu를 함수로 인식해 생기는 오류이다. 처음에 JavaScript를 잘 몰라 latex로 쓰고 캡쳐해서 포스팅하다. Escape 문자 해결 방법을 찾았다. https://docs.mathjax.org/en/v2.1-latest/tex.html MathJax TeX and LaTeX Support — MathJax 2.1 documentation The support for TeX and LaTeX in MathJax consists of two parts: t..
· Database
NULLIF NULLIF 표현식은 두 인수를 비교하여 동일한 경우에는 NULL을 반환합니다. 동일하지 않으면 첫 번째 인수가 반환됩니다. 이 표현식은 NVL 또는 COALESCE 표현식의 정반대입니다. ERROR: Divide by zero (NULL 값으로 생기는 오류) NULL 값으로 나눌 경우 Divide by zero 에러를 만나게 된다. 이 경우 NULLIF로 일부 해결할 수 있다. ** 연산에 NULL이 있을 경우 모든 연산은 NULL을 반환한다.
· Database
Null 값에 따라 변하는 Count function 예시 테이블 (table=account) Case 1) SELECT COUNT(1) FROM account; Result : 4; COUNT(1) : for i in row: row_count+=1; 과 같이 전체 row 수를 하나하나 더해 값을 반환한다. COUNT(1) = COUNT(*) = total_row_count라고 봐도 무방하다. Case 2) SELECT COUNT(Name) FROM account; Result : 3 COUNT(Name) Name 컬럼에서 Null을 제외한 열의 수를 반환한다. Case 3) SELECT COUNT(DISTINCT Name) FROM account; Result : 2 DISTINCT는 Null을 제외..
https://arxiv.org/abs/2212.04356 Robust Speech Recognition via Large-Scale Weak Supervision We study the capabilities of speech processing systems trained simply to predict large amounts of transcripts of audio on the internet. When scaled to 680,000 hours of multilingual and multitask supervision, the resulting models generalize well to standard arxiv.org Robust Speech Recognition via Large-Sca..
다했다
'분류 전체보기' 카테고리의 글 목록 (10 Page)