ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Dictionary Comprehension - Create Complex Data Structures Step by Step

dictionary

dict

dict comprehension

dictionary comprehension

python

data science

data structures

complex data structures

ds

Автор: Python Simplified

Загружено: 2022-08-07

Просмотров: 101988

Описание: Welcome to the best tutorial I've ever filmed!!! 😍😍😍
Today we will talk about Dictionary Comprehension which is a very clever technique to construct dictionaries from different collections of data.
We will start with a 🐍 basic code example 🐍 (00:47 - 03:47) and we will move on to practice our new set of skills with 3 FUN and USEFUL exercises:
1. Superheroes exercise:
correct a distorted dictionary (03:47)
2. Genetics exercise:
create a random DNA sequence by pairing bases (08:26)
3. Authentication exercise:
create a dictionary of users with random passwords (14:55)

⭐ Get complete tutorial code ⭐
https://app.wayscript.com/lairs/6d18a...

🎥 RELATED TUTORIALS 🎥
---------------------------------------------
⭐ Python For Loops for Beginners:
   • Python For Loops - Programming for Beginners  
⭐ List Comprehension:
   • List Comprehension - BEST Python feature !...  

⏰ Time Stamps ⏰
--------------------------------
00:00 - intro
00:21 - tutorial plan
00:47 - create dictionary with for loops
01:04 - zip function approach
01:37 - range function approach
02:05 - dictionary comprehension with zip
02:47 - dictionary comprehension with range
03:17 - dictionary comprehension with tuples
03:27 - dictionary comprehension with Pandas Data Frames
03:47 - modify dictionary in place (exercise #1 - superheroes)
08:26 - create a dictionary of lists (exercise #2 - DNA)
14:55 - create a list of dictionaries (exercise #3 - user authentication)
17:23 - create random passwords
20:46 - dictionary and list comprehension disadvantages
21:12 - outro and thanks for watching! :)


💻 Copy starter code 💻
----------------------------------------
⭐ EXERCISE 1:
my_dict = {
"Spider": "photographer",
"Bat": "philanthropist",
"Wonder Wo": "nurse"
}

⭐ EXERCISE 3:
keys = ["id", "username", "password"]
users = ["mariyasha888", "KnotAbot", "spongiBOBO", "IAMBATMAN"]

🤝 Connect with me 🤝
--------------------------------------
🔗 Github:
https://github.com/mariyasha
🔗 Discord:
  / discord  
🔗 LinkedIn:
  / mariyasha888  
🔗 Twitter:
  / mariyasha888  
🔗 Blog:
https://www.pythonsimplified.org

💳 Credits 💳
----------------------
⭐ Beautiful icons by:
flaticon.com
⭐ Beautiful animated graphics by:
mixkit.co

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Dictionary Comprehension - Create Complex Data Structures Step by Step

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Zip Vs Range - Which is Faster? Benchmarking YOUR code suggestions too!

Zip Vs Range - Which is Faster? Benchmarking YOUR code suggestions too!

Learn Python Functions - Quick Python Project For Beginners

Learn Python Functions - Quick Python Project For Beginners

List Comprehension - BEST Python feature !!! Fast and Efficient

List Comprehension - BEST Python feature !!! Fast and Efficient

HashMaps & Dictionaries, Explained Simply

HashMaps & Dictionaries, Explained Simply

Basic Guide to Pandas! Tricks, Shortcuts, Must Know Commands! Python for Beginners

Basic Guide to Pandas! Tricks, Shortcuts, Must Know Commands! Python for Beginners

ООП на простых примерах. Объектно-ориентированное программирование

ООП на простых примерах. Объектно-ориентированное программирование

Python List Comprehensions: Visually Explained [Updated]

Python List Comprehensions: Visually Explained [Updated]

Ultimate Guide to NumPy Arrays - VERY DETAILED TUTORIAL for beginners!

Ultimate Guide to NumPy Arrays - VERY DETAILED TUTORIAL for beginners!

Минимальный уровень python для первой работы

Минимальный уровень python для первой работы

Docker Simply Explained with a Machine Learning Project for Beginners

Docker Simply Explained with a Machine Learning Project for Beginners

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]