¡Hola, Mundo!

  • 홈
  • 태그
  • 방명록

intersection 2

union, intersection

union It contains all the elements contained in both sets. (A ⋃ B) a={'red', 'green', 'blue'} b=set(['red', 'yellow', 'orange']) a_union_b=a.union(b) print(a_union_b) >>> {'blue', 'green', 'red', 'yellow', 'orange'} intersection It contains only the elements that are in both sets. a_intersec_b=a.intersection(b) print(a_intersec_b) >>> {'red'}

Basic Python 2022.03.10

update, islower, if in, abs, reverse, pprint, add, discard, union, intersection, symmetric_difference, issubset, issuperset, isdisjoint, enumerate

update It takes a key-value pair and puts into the existing dictionary. icecream = {'탱크보이': 1200, '폴라포': 1200, '빵빠레': 1800, '월드콘': 1500, '메로나': 1000} new_product = {'팥빙수':2700, '아맛나':1000} icecream.update(new_product) icecream >>> {'탱크보이': 1200, '폴라포': 1200, '빵빠레': 1800, '월드콘': 1500, '메로나': 1000, '팥빙수': 2700, '아맛나': 1000} islower Checks if all the characters in the text are in lower case. user_i..

Basic Python 2021.05.18
이전
1
다음
더보기
  • 분류 전체보기 (352)
    • 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 (20)
    • About me (1)

Tag

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/12   »
일 월 화 수 목 금 토
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.

티스토리툴바