LIFE_LOGS

고정 헤더 영역

글 제목

메뉴 레이어

LIFE_LOGS

메뉴 리스트

  • 홈
  • 태그
  • 방명록
  • 글쓰기
  • 분류 전체보기 (23)
    • Deep_Learning (0)
    • Language (7)
      • PYTHON (4)
      • JS (3)
    • Web (1)
      • Django (1)
      • Vue (0)
    • Crawling (8)
    • Etc (1)
    • Git (5)
    • Erros (0)

검색 레이어

LIFE_LOGS

검색 영역

컨텐츠 검색

전체 글

  • VS-code

    2020.02.18 by DEV_SP

  • Multiprocessing-2

    2020.02.18 by DEV_SP

  • Stroage

    2020.02.12 by DEV_SP

  • JS-HTTP-동적할당오류

    2020.02.10 by DEV_SP

  • Js-Basic

    2020.02.10 by DEV_SP

  • Pandas

    2020.02.09 by DEV_SP

  • 다차원 배열가꼬놀기

    2020.02.09 by DEV_SP

  • __str__&&__repr__

    2020.02.09 by DEV_SP

VS-code

$code --list-extensions 으로 현 익스텐션 확인 https://code.visualstudio.com/docs/editor/command-line = 커맨드라인헬퍼

Etc 2020. 2. 18. 12:06

Multiprocessing-2

1. Starmap(func, iterable[, chunksize]) Like map() except that the elements of the iterable are expected to be iterables that are unpacked as arguments. Hence an iterable of [(1,2), (3, 4)] results in [func(1,2), func(3,4)]. 이터레이트 전 함수호출 This method chops(자르다) the iterable into a number of chunks(큰덩어리) which it submits to the process pool as separate tasks. The (approximate) size of these chunks..

카테고리 없음 2020. 2. 18. 10:24

Stroage

읽기 전용 localStorage속성은 사용자 로컬의 Storage객체에 접근하게 해줍니다. localStorage는 sessionStorage와 비슷합니다. 유일한 차이점은 localStorage에 저장된 데이터는 만료 기간이 없지만, sessionStorage에 저장된 데이터는 세션이 끝나면(브라우저가 종료되면) 지워진다는 것입니다.

Language/JS 2020. 2. 12. 13:37

JS-HTTP-동적할당오류

deactiveAll (attr) { for (const item of this.items) { item[attr] = false const data = { [attr]: item[attr] } console.log(data) this.$axios .patch(process.env.baseUrl + '/qa/v1/sample_garment/' + item.uuid + '/', data) .then((response) => { this.snackbar = false this.snackbarImage = `${item.uuid}/image.png` this.snackbarMsg = '변경사항이 적용되었습니다.' this.snackbar = true }) } }, http request 를 확인해보니 cons..

Language/JS 2020. 2. 10. 16:56

Js-Basic

기초 알고리즘 = https://www.zerocho.com/category/Algorithm/post/5b79898d337215001b3a18eb 더보기 let과 const의 차이점은 변수의 immutable여부이다. let은 변수에 재할당이 가능하지만, const는 변수 재선언, 재할당 모두 불가능하다. // let let a = 'test' let a = 'test2' // Uncaught SyntaxError: Identifier 'a' has already been declared a = 'test3' // 가능 // const const b = 'test' const b = 'test2' // Uncaught SyntaxError: Identifier 'a' has already been de..

Language/JS 2020. 2. 10. 10:19

Pandas

import pandas as pd import numpy as np import matplotlib.pyplot as plt # Pandas는 값을 가지고 있는 리스트를 통해 Series를 만들고, 정수로 만들어진 인덱스를 기본값으로 불러올 것입니다. # pandas complete by 10 M = https://dataitgirls2.github.io/10minutes2pandas/ dates = pd.date_range('20130101', periods=6) df = pd.DataFrame(np.random.randn(6,4), index=dates, columns=list('ABCD')) df df2 = pd.DataFrame({'A' : 1., 'B' : pd.Timestamp('201301..

Language/PYTHON 2020. 2. 9. 17:16

다차원 배열가꼬놀기

list("ABCD") # ['A', 'B', 'C', 'D'] [[[x * y * z for x in range(3)]for y in range(2)]for z in range(3)] a = np.ndarray((2, 3)) b = [1 ,3 ,4] np. append(a, b ) # a.ndim() "array([1, 2, 3, 4, 5, 6, 1, 3, 4])" import numpy as np z = np.array([int(j) for j in input().split()]) z # np.hstack(1, 1,) np.vstack([1, 2, 3], [1, 2, 3])

Language/PYTHON 2020. 2. 9. 15:33

__str__&&__repr__

더보기 object.__repr__(self) Called by the repr() built-in function and by string conversions (reverse quotes) to compute the “official” string representation of an object. If at all possible, this should look like a valid Python expression that could be used to recreate an object with the same value (given an appropriate environment). If this is not possible, a string of the form should be returne..

Language/PYTHON 2020. 2. 9. 14:18

추가 정보

인기글

최신글

페이징

이전
1 2 3
다음
TISTORY
LIFE_LOGS © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바