-
파이썬 데이터사이언스 핸드북 1장 - Jupyter notebook 실행데이터 분석/NumPy 2020. 5. 5. 14:55
파이썬 데이터사이언스 핸드북 1장. Iptyhon: 파이썬에 날개를 달자 IPython (Interactive Python) 은 훌륭한 파이썬 대화형 인터페이스일 뿐만 아니라 추가로 다수의 유용한 구문을 제공한다. 게다가 IPython은 개발, 협업, 공유는 물론이고, 데이터 과학 결과를 게시하는 데 유용한 브라우저 기반의 노트북을 제공하는 Jupyter 프로젝트와 밀접하게 연결돼 있다. 이번 장에서는 데이터 과학 실무에 유용한 IPython 기능을 배우고, 그 중 특히 파이썬의 표준 기능 이상을 제공하는 구문에 초점을 맞춰 살펴볼 것이다. 다음으로 데이터 과학용 코드를 생성하고 사용하는 일반적인 작업 속도를 높이는 몇 가지 유용한 매직 명령어에 대해 더 깊이 있게 알아볼 것이다. 마지막으로 데이터를 이..
-
파이썬 데이터 사이언스 핸드북개발입문/IT 서적 리뷰 2020. 5. 5. 11:55
IPython, Jupyter, NumPy, Pandas, Matplotlib, Scikit-Learn 라이브러리를 활용한 데이터 과학과 머신러닝 파이썬 데이터 사이언스 핸드북 위키북스 데이터 사이언스 시리즈. 초보자부터 전문가까지 아우르는 넓은 사용자층을 가진 매력적인 언어인 파이썬 언어가 제공하는 과학 스택을 이용해 실제 데이터 과학 분야에서 자주 만나는 상황을 해결해 나감... www.aladin.co.kr 2020-05, 2020-06 두 달에 걸쳐 이 책을 완독하고, 실습하려고 한다. 파이썬 실행 환경을 구축한다. p.1 ~ 39 데이터 사이언스 3rd 파티 프레임워크를 익힌다. p. 40~ 382 기계학습의 원리를 이해하고, 여러 통계학 개념을 도입한 심화학습을 한다. p. 383 ~ 575 ..
-
[SQL] data.world tutorial SQL Pivot 문 예제 풀이데이터 분석/DB & SQL 2020. 5. 4. 00:41
PIVOT enables you to see rows as columns in a query result. 피벗테이블은 row 여러 개를 column 으로 옮겨서 요약 정리한다. PIVOT (집계값 FOR 대상컬럼 IN ("컬럼1", "컬럼2", ... "컬럼N")) https://docs.data.world/documentation/sql/concepts/advanced/PIVOT.html PIVOT Learn about PIVOT in this SQL tutorial. Visit for a full course on learning the basics of SQL. docs.data.world 엑셀에서 원하는 결과값을 값에 넣고, 요약기준을 row 와 column 에 추가하는 것과 같다. (이 때 c..
-
[SQL] data.world tutorial SQL Inline VALUE 문 예제 풀이데이터 분석/DB & SQL 2020. 5. 3. 23:03
Value Block VLOOKUP 처럼 활용할 때 사용한다. 매칭해야 하는 값이 몇개 없을 때에는 테이블로 따로 빼지 않고 이렇게 쿼리 안에 정의해서 활용할 수도 있다. A value block is a table created and defined within a query that exists only in the scope of that query. It acts like any other table and can be used to extend the data in an existing table by means of a small look up. value 블럭은 쿼리 내부에 생성 및 정의되는 테이블이며, 그 쿼리가 실행될 때에만 존재한다. 다른 테이블처럼 동작하고, 기존 테이블에 있는 데이터..
-
[SQL] data.world tutorial SQL Inline Subquery 문 예제 풀이데이터 분석/DB & SQL 2020. 5. 3. 22:06
Subquery 의 다른 방법 Inline Subquery Subquery / nested query / Inner query 내부쿼리 main query / containing query / / outer query 외부쿼리 In a previous section we built subqueries using the keyword WITH. Another kind of subquery is an inline subquery. 이전 포스트에서는 WITH 문을 통해 subquery 를 작성하는 법을 알아보았다. Subquery 의 다른 방법으로 Inline Subquery 가 있다. In a standard inline subquery, the subquery is a component of a FROM ..
-
[SQL] data.world tutorial SQL WITH 문 예제 풀이데이터 분석/DB & SQL 2020. 5. 3. 17:22
WITH is a keyword that enables you to form complex queries out of simple named subqueries. WITH 는 복잡한 쿼리를 단순한 이름의 subquery 로 구성하게 해주는 키워드이다. https://docs.data.world/documentation/sql/concepts/advanced/WITH.html WITH Learn about WITH subqueries in this SQL tutorial. Visit for a full course on learning the basics of SQL. docs.data.world With the way our dataset is structured we can see a lot of in..
-
[SQL] data.world tutorial SQL CAST 예제 풀이데이터 분석/DB & SQL 2020. 5. 2. 18:57
CAST: 데이터타입 과 데이터타입 변환 어떤 값이 저장되어있고, 어떻게 데이터타입이 정의되었는지는 매우 중요하다. 이에 따라 연산을 할 것인지, substring 처리할 것인지 등이 달라지기 때문이다. https://docs.data.world/documentation/sql/concepts/intermediate/CAST.html CAST Learn about the CAST clause and related keywords in this SQL tutorial. Visit for a full course on learning the basics of SQL. docs.data.world CAST 1줄 정리 CAST is an expression that is used to change the dat..
-
[SQL] data.world tutorial SQL CASE 예제 풀이데이터 분석/DB & SQL 2020. 5. 2. 18:12
컬럼에 대해서 CASE 분기 태울 때 활용한다. https://docs.data.world/documentation/sql/concepts/intermediate/CASE.html CASE Learn about the CASE expression in this SQL tutorial. Visit for a full course on learning the basics of SQL. docs.data.world CASE 의 활용 CASE is a general conditional expression that allows you to - test data for equality with a specified value, 특정값과 동치여부 확인 - partition data into ranges, 데이터를 ..