SJBANG Repository
close
프로필 배경
프로필 로고

SJBANG Repository

  • 분류 전체보기 (113)
    • Python (49)
      • Intro (6)
      • 데이터분석 (16)
      • 업무자동화 (7)
      • Django (2)
      • Flask (3)
      • Streamlit (2)
      • MachineLearning (4)
      • QGIS (6)
    • DB (11)
      • Intro (3)
      • SQL(DML,DDL,DCL,TCL) (5)
      • 자동화 (1)
      • 모델링 및 설계 (1)
      • 코딩테스트 (1)
    • 보안 (27)
      • Android App (10)
      • 서버&네트워크 (11)
      • IOS (4)
    • Zendesk (1)
    • C (1)
      • intro (1)
    • 생성형 AI (1)
    • 회고록 (2)
      • 자격증 취득 후기 (2)
    • 기타 (10)
      • 엑셀 (0)
      • R (1)
      • GIT (2)
    • 코딩테스트연습 (10)
  • 홈
  • Python
  • DB
  • 보안

[Oracle] 테이블 스페이스 및 Comment 관리

-- TABLE SPACESELECT OWNER, INDEX_NAME, TABLE_NAME, TABLESPACE_NAME FROM ALL_INDEXES WHERE 1=1 AND OWNER = 'DB소유자' AND TABLESPACE_NAME = '테이블스페이스명'-- COMMENTSELECT * FROM ALL_COL_COMMENTS WHERE TABLE_NAME LIKE '%IAIF%' AND COMMENTS IS NULL AND OWNER = 'DB소유자'ORDER BY TABLE_NAME;-- COMMENT 추가COMMENT ON COLUMN "DB소유자"."테이블명"."칼럼명" IS 'comment명';

  • format_list_bulleted Python/Intro
  • · 2024. 1. 19.
  • textsms
Python을 활용한 파일, 폴더명 읽기, 압축 파일 해제

Python을 활용한 파일, 폴더명 읽기, 압축 파일 해제

1. python으로 txt 파일 읽기 import os file_path = r"파일 경로" # 파일 열기 with open(file_path, "r", encoding="utf-8") as file: file_content = file.read() print(file_content) 2. python으로 폴더명 읽기 import os main_folder = r"폴더 경로" for item in os.listdir(main_folder): sub_folder = os.path.join(main_folder, item) # 폴더경로 + 폴더명 sub_folder2 = os.path.join(item) # 폴더명만 if os.path.isdir(sub_folder): # print(sub_folder) ..

  • format_list_bulleted Python/업무자동화
  • · 2024. 1. 19.
  • textsms
Python Selenium, bs4를 활용한 웹크롤링

Python Selenium, bs4를 활용한 웹크롤링

chromedriver 설치 chrome 버전 확인 [설정] - [Chrome 정보]에서 확인 가능합니다 chrome 버전이 업그레이드 될때마다 버전에 맞는 driver를 맞춰주어야 합니다 최근 chromedriver 버전 : https://googlechromelabs.github.io/chrome-for-testing/#stable python - getChromeDriver.py from selenium import webdriver import chromedriver_autoinstaller import os # Check if chrome driver is installed or not chrome_ver = chromedriver_autoinstaller.get_chrome_version()...

  • format_list_bulleted Python/업무자동화
  • · 2024. 1. 19.
  • textsms
[Scikit-Learn] K-최근접 이웃(K-nearest Neightbors, KNN) 알고리즘_분류

[Scikit-Learn] K-최근접 이웃(K-nearest Neightbors, KNN) 알고리즘_분류

실행 순서 1. 데이터 수집 2. 데이터 전처리 3. 훈련 모델 생성(fit) 4. 모델 검증(score) 5. 예측(predict) 1. 데이터 수집 임의 데이터 생성 # - 도미 길이와 무게 bream_length = [25.4, 26.3, 26.5, 29.0, 29.0, 29.7, 29.7, 30.0, 30.0, 30.7, 31.0, 31.0, 31.5, 32.0, 32.0, 32.0, 33.0, 33.0, 33.5, 33.5, 34.0, 34.0, 34.5, 35.0, 35.0, 35.0, 35.0, 36.0, 36.0, 37.0, 38.5, 38.5, 39.5, 41.0, 41.0] # - 도미 무게 bream_weight = [242.0, 290.0, 340.0, 363.0, 430.0, 45..

  • format_list_bulleted Python/MachineLearning
  • · 2022. 8. 3.
  • textsms
1. [Django] 초기 환경 세팅 ~ 서버 실행

1. [Django] 초기 환경 세팅 ~ 서버 실행

참고 : https://docs.djangoproject.com/en/5.2/intro/tutorial01/1. 가상환경 생성conda create -n 가상환경명 python==버전# 가상환경 활성화conda activate 가상환경명 2. Django 설치pip install django==장고 버전 3. 버전 확인python -m django --version # 장고 버전python --version # 파이썬 버전 4. 프로젝트 생성# 프로젝트 생성할 폴더 위치 진입 후 (cd 폴더경로)django-admin startproject app이름 project 이름예시)django-admin startproject myproject Django-APP 5. 서버 실행하기python manage...

  • format_list_bulleted Python/Django
  • · 2022. 7. 15.
  • textsms
10_판다스 데이터 수정

10_판다스 데이터 수정

import pandas as pd df = pd.read_excel('score.xlsx', index_col='지원번호') Column 수정 replace() df['학교'].replace({'북산고':'상북고', '능남고':'무슨고'}) *) 저장하려면 inplace = True 시행 lower() df['SW특기'] = df['SW특기'].str.lower() upper() df['SW특기'] = df['SW특기'].str.upper() 문자열 추가 df['학교'] = df['학교'] + '등학교' Column 추가 df['총합'] = df['국어'] + df['영어'] + df['수학'] + df['과학'] + df['사회'] df['결과'] = 'Fail' # 결과 Column 추가하고 전체 ..

  • format_list_bulleted Python/데이터분석
  • · 2022. 7. 14.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (113)
    • Python (49)
      • Intro (6)
      • 데이터분석 (16)
      • 업무자동화 (7)
      • Django (2)
      • Flask (3)
      • Streamlit (2)
      • MachineLearning (4)
      • QGIS (6)
    • DB (11)
      • Intro (3)
      • SQL(DML,DDL,DCL,TCL) (5)
      • 자동화 (1)
      • 모델링 및 설계 (1)
      • 코딩테스트 (1)
    • 보안 (27)
      • Android App (10)
      • 서버&네트워크 (11)
      • IOS (4)
    • Zendesk (1)
    • C (1)
      • intro (1)
    • 생성형 AI (1)
    • 회고록 (2)
      • 자격증 취득 후기 (2)
    • 기타 (10)
      • 엑셀 (0)
      • R (1)
      • GIT (2)
    • 코딩테스트연습 (10)
최근 글
인기 글
최근 댓글
태그
  • #판데스데이터정렬
  • #판다스 fillna
  • #직장인엑셀
  • #판다스 dropna
  • #판다스 데이터 수정
  • #엑셀함수
  • #엑셀
  • #리스트딕셔너리
  • #판다스 sort_values
  • #판다스 결측치
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바