PYTHON SET (SET Theory Operations)

Publicado em: 20 Junho 2023
no canal de: Code with Jon
37
4

This video highlights Python Sets and Set Theory

A Set is a collection of unique elements which is unordered, unchangeable, unindexed, and do not allow duplicate values.

Sets are highly useful for efficiently removing duplicate values from a list or tuple and performing common math operations like unions and intersections.

After watching this video, you will know how to:
Create Sets in Python
Access set items using for loop
Use the “in” keyword to check specified values
Add and remove set items
Understand different types of Set Operations using VEN diagrams
(Union of sets)
(Intersection of sets)
(Complement of a set)
(Difference between sets/Relative complement
Manipulate sets based on the set theory
Remove duplicate values from a list

This video is perfect for beginners interested in learning more about Python for Data Analysis and Data Science.

0:00 Intro
0:16 Python Sets
1:03 Python Set creation
3:46 Access Set elements
6:20 Change Set elements
7:02 Add Set elements
11:36 Remove Set elements
15:48 Set operations
16:32 Union of Sets
20:52 Intersection of Sets
25:35 Set difference
30:50 Set Symmetric Difference
35:25 Complement of a Set
37:15 Other Set Operations
37:30 issubset() method
41:21 issuperset() method
43:16 isdisjoint() method
44:23 Frozen Set
47:20 Remove duplicate values in a list with Python Set


Nesta página do site você pode assistir ao vídeo on-line PYTHON SET (SET Theory Operations) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code with Jon 20 Junho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 37 vezes e gostou 4 espectadores. Boa visualização!