¡Hola, Mundo!

  • 홈
  • 태그
  • 방명록

Strip 2

set, count, index, reverse, sort, pop, strip, lstrip, rstrip, round, zip, |, ^, dict, sort, sorted, reverse, math, Queue, LifoQueue

setIt returns unique items.my_set={1,2,3,1,2}print(my_set)>>>{1, 2, 3}your_set=set([1,2,3,2,1])your_set>>>{1, 2, 3}set('abracadabra')>>>{'a', 'b', 'c', 'd', 'r'} countIt returns the number of elements with the specified value.fruits = ['apple', 'banana', 'cherry','banana', 'apple']fruits.count('apple')>>>2 index(x,n)Return zero-based index in the list of the first..

Basic Python/Data Structure 2022.02.16

copy, copy.copy, copy.deepcopy, get, next, id

copy Under the same object, one can change one copy without changing the other. Therefore, if one of them changed, the other one will be changed affected by changed one. a = [1, 2, 3, 4] b = a # shallow copy print(b) # [1, 2, 3, 4] b[2] = 100 print(b) # [1, 2, 100, 4] print(a) # [1, 2, 100, 4] copy.copy Shallow copy, once copy from one to another one, its reference is same object. Copy only the ..

Basic Python 2021.05.04
이전
1
다음
더보기
  • 분류 전체보기 (353) N
    • Autonomous Vehicle (55)
      • Theory (14)
      • Sensors (11)
      • Video Geometry (24)
    • Deep Learning (20)
      • PyTorch (10)
      • Tensorflow (8)
      • CNN (7)
      • Object Detection (16)
    • Machine Learning (18)
    • Reinforcement Learning (4)
    • Analyze Data (29)
      • Python (2)
      • Python Libraries (20)
      • Measure of similarity (7)
    • KAFKA (6)
    • d3.js (20)
    • Environment (9)
      • Anaconda (4)
      • VisualStudioCode (3)
      • Jupyter (2)
    • JavaScript (10)
    • C# (6)
    • Linux (15)
      • terminal (9)
      • Nvidia (3)
    • Docker (17)
    • Git (7)
    • Concept (8)
      • Network (3)
    • Elastic Stack (6)
      • Elasticsearch (5)
      • Logstash (1)
    • Basic Python (49)
      • FastAPI (3)
      • Data Structure (1)
      • Workbook (5)
    • DataBase (11)
      • MYSQL (6)
      • MariaDB (1)
    • Math (21) N
    • About me (1)

Tag

nvidia-smi, forward propagation, Sigmoid function, selectall, kafka, abstractmethod, global variable, Filter, Regular Expression, axis, yield from, d3js, batch size, textdistance, Step Function, randn, zeros, 3D Rotation Matrix, classmethod, docker-compose,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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

Copyright © Kakao Corp. All rights reserved.

티스토리툴바