Hayden J GitHub blog
홈 리뷰 스터디 아카이브 소개
카테고리 전체 96개
  • 전체 96
  • python 13
  • web/javascript 10
  • tips 8
  • python/dataframe 7
  • java 6
  • data-engineer/apache 5
  • ai/ml 5
  • review 5
  • infra/docker 4
  • db/postgresql 3
  • data-engineer/spark 3
  • web/react 3
  • web 3
  • blog/git 2
  • web/css 2
  • blog/liquid 2
  • statistics 2
  • db/etc 2
  • os 2
  • python/backend 2
  • ai/nlp 2
  • infra/heroku 1
  • ai/cv 1
  • web/superset 1
  • aws 1
  • iot/term 1
  • ai 1
  • android 1
  • os/linux 1
  • os/mac 1
  • db/oracle 1
  • infra 1
  • data-engineer 1
  • 전체 96
  • python 13
  • web/javascript 10
  • tips 8
  • python/dataframe 7
  • java 6
  • data-engineer/apache 5
  • ai/ml 5
  • review 5
  • infra/docker 4
  • db/postgresql 3
  • data-engineer/spark 3
  • web/react 3
  • web 3
  • blog/git 2
  • web/css 2
  • blog/liquid 2
  • statistics 2
  • db/etc 2
  • os 2
  • python/backend 2
  • ai/nlp 2
  • infra/heroku 1
  • ai/cv 1
  • web/superset 1
  • aws 1
  • iot/term 1
  • ai 1
  • android 1
  • os/linux 1
  • os/mac 1
  • db/oracle 1
  • infra 1
  • data-engineer 1
    ✨ 전체 글 수 96 개 tips (8) ai (1)
    • CV (1)
    • ML (5)
    • NLP (2)
    java (6) WEB (3)
    • css (2)
    • javascript (10)
    • superset (1)
    • react (3)
    • 용어 (1)
    DataBase
    • oracle (1)
    • postgresql (3)
    • etc (2)
    os (2)
    • linux (1)
    • mac (1)
    ai (1)
    • apache (5)
    • spark (3)
    Python (13)
    • dataframe (7)
    • backend (2)
    Infra
    • docker (4)
    • heroku (1)
    BLOG
    • git (2)
    • blog (2)
    android (1) statistics (2) aws (1) Native App
    Computer Science
study 2024-08-09

[python] path

logger.pyfrom pathlib import PathPath().cwd() / 'logs'Path().cwd() : Return a new path pointing to the current workin...

study 2024-07-10

[python] reduce

reducePython의 reduce 함수는 functools 모듈에 포함된 고차 함수로, 주어진 이터러블(iterable) 객체에 지정된 이진 함수(binary function)를 누적하여 하나의 값으로 줄이...

study 2023-11-28

[python] 현재 path 구하기

코드가 들어있는 파일까지의 경로 실행 경로가 ~/main/run.py 코드가 들어있는 경로는 ~main/src/utils/logger.py 일때import osprint(__file__)print(os.pa...

study 2023-06-24

[python] conda install requirements.txt

pippip install -r requirements.txtcondaconda install --yes --file requirements.txt

study 2023-03-20

[python] torch.vmap, np.vectorize(with axis,dim)

torch.vmap 1차원 행렬, 1차원 행렬만 할 수 있는 torch.dot 함수를 broadcasting을 통해 한 번에 실행시킬 수 있는 함수사용법def my_dot(a, b): return tor...

study 2023-03-17

[python] zip, map함수와 star(*)

zip메서드같은 인덱스에 위치한 값들을 튜플로 묶는다.a = [0,1,2,3,4]b = [0,1,2,3]c = [2,4,6]print(zip(a,b,c))print(list(zip(a,b,c)))# <zi...

study 2023-02-28

[python] decorator(annotation) 정리

메서드@classmethod@classmethoddef get_network(cls): 객체 인스턴스를 의미하는 self 대신 cls 라는 클래스를 의미하는 파라미터 사용 cls 파라미터를 통해 클래스 변수...

study 2023-02-14

[python] 전역변수(global) 사용법

변수의 유효 범위(variable scope)변수가 선언된 위치에 따라 해당 변수가 영향을 미치는 범위전역변수 함수 밖에서 변수 선언 후에 함수 내부 등에서 지역적이 아닌 전역으로 사용할 수 있는 변수지역변수...

study 2023-01-25

[python] 상속관련

클래스 속성 vs 인스턴스 속성클래스는 붕어빵을 만드는 틀객체는 붕어빵 한 개클래스 속성 클래스 내부의 속성class Person: count = 0person1 = Person("jhy")print(P...

study 2023-01-25

[python] 깊은복사 vs 얕은복사(with mmutable)

mutable vs immutablemutable 변하기 쉬운 수정 가능한 객체 list, tuble…immutable 불변의 수정 불가능한 객체 int ,float …얕은복사 vs 깊은복사얕은복사 ...

study 2023-01-05

[python] create_engine schema setting

[python] create_engine schema settingpostgres 접속 명령어db_connection_str = 'postgresql://postgres:asdfqwer@127.0.0.1:543...

study 2023-01-05

[python] __name__, __init__, __call__, self, etc

nameif __name__ == "__main__":# 코드 위 명령어는 파이썬 파일이 임포트된 경우가 아니라 인터프리터(IDE)나 cmd 에서 python ~~.py로 직접 실행된 경우에만, if문...

study 2022-12-10

[python] 폴더 내의 모든 파일 가져오기 코드

[python] 폴더 내의 모든 파일 가져오기 코드# use glob to get all the csv files# in the folder# path = os.getcwd()path = os.getcwd()c...

GitHub Tistory LinkedIn E-mail
jhy156456_blog

Theme is Jekyll liberxue by liberxue

Powered by Jekyll

총 게시글:102개

다른 게시글

최신글

  • [de] test
  • [infra] 내부 DNS 변경 후 특정 도메인 SERVFAIL 이슈 (BIND + DNSSEC)
  • [DE] hdfs cli 명령어 수행 안될 때
  • [oracle] delete from table 했을 때 복구방법
  • [spring] 인덱스에서 누락된 IN 또는 OUT 매개변수::11