일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 통계학
- Ga
- 서평단
- 딥러닝
- Visualization
- 매틀랩
- Pandas
- MATLAB
- 한빛미디어서평단
- Tistory
- 티스토리
- Linux
- 월간결산
- 파이썬 시각화
- MySQL
- 독후감
- python visualization
- 서평
- Google Analytics
- 블로그
- tensorflow
- SQL
- 파이썬
- Python
- matplotlib
- 한빛미디어
- 시각화
- Blog
- 리눅스
- 텐서플로
- Today
- Total
목록ComputerLanguage_Program (320)
pbj0812의 코딩 일기

0. 목표 - Mac에 PostgreSQL 설치 + DBeaver 연동 1. PostgreSQL 설치 1) 설치하기 brew install postgresql 2) 실행 brew services start postgresql 3) 로그인 * 기존 방법에는 psql postgres 라고 하면 진행이 된다고 하나... 비밀번호 에러(링크) 등등... 으로 stackoverflow 를 뒤지다가... 마땅한 방법이 없어서, 컴퓨터를 재시작하니 아래와 같이 다른 에러가 발생... 을 하여 아래처럼 postgres 로 유저 변경을 하여 로그인 su - postgres 4) 유저 생성 CREATE ROLE hellopsql LOGIN CREATEDB PASSWORD 'hello'; 5) 데이터베이스 생성 CREATE..

0. 목표 - MySQL 에서 FULL JOIN 1. 실습 1) 테이블 생성 - like CREATE TABLE sql_test.like ( ID INT, LikeDate datetime ); - buy CREATE TABLE sql_test.buy ( ID INT, BuyDate datetime ); 2) 데이터 삽입 INSERT INTO sql_test.like(ID, LikeDate) VALUES(1, '2021-01-01'); INSERT INTO sql_test.like(ID, LikeDate) VALUES(1, '2021-01-02'); INSERT INTO sql_test.like(ID, LikeDate) VALUES(2, '2021-01-03'); INSERT INTO sql_test.li..

0. 목표 - pip freeze 를 이용한 설치 패키지 목록 저장 1. 실습 1) 가상환경 생성 python -m venv tutorial-env 2) 가상환경 실행 source tutorial-env/bin/activate - 커맨드 라인 앞에 가상환경 명 생성 3) 예제 라이브러리 설치(pandas) pip install pandas 4) 설치 패키지 리스트 확인 pip list 5) 설치 패키지 목록 저장 pip freeze > requirements.txt 6) requirements.txt 내부 7) 새로운 가상환경 생성 - 2 python -m venv tutorial-env2 source tutorial-env2/bin/activate 8) 설치 패키지 확인 pip list - 결과 9) ..

0. 목표 1) 원본 2) 순서도 1. 실습 1) html 2) css *, *:after, *:before { box-sizing: border-box; } body { background: #d0ddf8; } .cup { position: relative; margin: 50px auto; width: 400px; height: 400px; } .cup .body{ position: absolute; left: -100px; bottom: -200px; width: 300px; height: 400px; background: #8b00ff; } .cup .leg .left .middle{ position: absolute; left: 240px; bottom: -200px; width: 15px; h..

0. 목표 - CSS 로 산타 그리기 - flow chart 1. 실습 1) html 2) CSS *, *:after, *:before { box-sizing: border-box; } body { background: #d0ddf8; } .santa { position: relative; margin: 50px auto; width: 400px; height: 400px; } .santa .body .body1{ position: absolute; bottom: -350px; width: 400px; height: 150px; background: #ff0000; } .santa .body .body2{ position: absolute; top: 400px; width: 400px; height: 2..

0. 목표 - blender 로 3D 캐릭터 그리기 - 재료 1. 실습하기 1) x 키를 눌러 기본도형 삭제 2) 구 그리기 3) 구 4) edit 모드로 변경 5) smooth faces 6) 매끈한 구 7) 색 넣기 8) 색 넣기 2 9) 색 넣기 3 - new 10) 색 입력 11) 완성 2. 참고 - Shade Smooth (Mesh Smoothing)
0. 목표 - arrow 라이브러리 소개 1. 실습하기 1) 설치 pip install -U arrow 2) library 호출 import arrow 3) arrow 형태 객체 얻기 a = arrow.get('2013-05-11T21:23:58.970460+07:00') print(a) print(type(a)) - 결과 2013-05-11T21:23:58.970460+07:00 4) 지금시간 얻기(UTC 기준) utc = arrow.utcnow() print(utc) - 결과 2020-12-06T14:25:21.215593+00:00 5) 시간 조정하기 utc2 = utc.shift(hours=-1) print(utc2) - 결과 2020-12-06T13:29:06.976277+00:00 6) 타임존..

0. 목표 - python 을 이용하여 남은 업무시간 계산하기 1. 실습 1) library 호출 import pandas as pd 2) 기본 메타정보 입력 - 마지막으로 퇴근한 요일 - 일주일간 채워야 하는 근무시간 - 제외시간(점심시간) print('마지막으로 퇴근한 요일을 입력하세요.') print('1부터 7까지의 숫자로 입력하세요(1 : 월요일 ~ 7 : 일요일)') end_day = int(input()) print('일주일간 채워야 하는 시간을 입력하세요(자연수)') total_time = int(input()) print('제외시간을 입력해 주세요(자연수)') except_time = int(input()) - 결과 마지막으로 퇴근한 요일을 입력하세요. 1부터 7까지의 숫자로 입력하세요(..

0. 목표 - MySQL 조회 결과를 csv 파일로 만들기 1. 실습 1) 테이블 생성 CREATE TABLE Number_test ( Id INT, PhoneNumber VARCHAR(30) ); 2) 데이터 적재 INSERT INTO Number_test(Id, PhoneNumber) VALUES(1, '012-123-1234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(2, '012-1234-1234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(3, '0121231234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(4, '01212341234'); 3) 확인 S..

0. 목표 - 불규칙하게 저장된 전화번호 전처리 하기 1. 실습 1) 테이블 생성 CREATE TABLE Number_test ( Id INT, PhoneNumber VARCHAR(30) ); 2) 데이터 삽입 INSERT INTO Number_test(Id, PhoneNumber) VALUES(1, '012-123-1234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(2, '012-1234-1234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(3, '0121231234'); INSERT INTO Number_test(Id, PhoneNumber) VALUES(4, '01212341234'); 3) 확인 SELE..