Intermediate Python Tutorial #6 - Collections /Counter()

preview_player
Показать описание
Intermediate Python Tutorial #6 - Collections /Counter()

Today's Topic: collections and Counter(), In todays video I introduce the collections module in python. This module is full of unique data structures and types. These are extremely useful and can save you a lot of time when programming. In this specific video I talk about the counter() data type.

In this set of videos I will be explaining more advanced programming concepts and showing you intermediate-advanced tools that you can use in python. A lot of these tools will help you to solve problems/code more efficiently and will save you a ton of time!

Future topics:
6. Intro to Collections - Counter()
7. Collections: named tuple
8. Collections: deque
9. Collections: orderedDict
10. Collections: defualtDict
11. docstrings

Want To Support This Channel?
Bitcoin: 1PbkAYLFaJBgjbKn2ptGyBz65xWN8hJgBU
Ethereum: 0xdd42dbbdba60f7163fc7a840e189474b6e8bfcad
Ripple: rD4arM9CVjQWqi8f1kxdpCgkCgEkqBgtud

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
- Tech
- Tech With Tim
- Python Tutorials
- Intermediate Python Tutorials
- Counter() in python
- Python tutorials
- Collections in python
- Data types
Рекомендации по теме
Комментарии
Автор

Hey man, I know you don't get too many views on these intermediate videos but please don't stop making them. On Youtube there's no quality content for people who already know the basics and are beginning to enter the intermediate phase.

pgmredstone
Автор

this is the most amazing video ever man... this legit clears like half of the work off leetcode easy + medium problems. thank you tons!

alienfunbug
Автор

Tried a couple of youtube videos but found this one the best to understand.

GiggleNuggetsZone
Автор

Good video. I’ve heard of this module but never used it!

Cowboy
Автор

Yeah your fantastic with these vids man

maximillianquaife-larsen
Автор

Thank you for the great tutorial man. Keep it up. Such a great content.

aminm
Автор

Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.

akira_asahi
Автор

This was just what I needed to understand this module, thank you!

chocohoneyrose
Автор

At 11:36

U said it would take d because d id -2 but
What actually is the meaning of negative count ?

ShivaPrasad-hmlk
Автор

These videos are really helping...I hope I will find more such good tutorials

Dartz_Gone_Insane
Автор

very good content Tim. but please when explaining the examples, drag the python shell window to the side to see the result and the code at the same time. tnx Tim

soheilpalermo
Автор

nice video man im a bit late with my comment but u have done a pretty good job

yayeetxd
Автор

why it said name counter is not defined?

wongkingshun
Автор

4:09 You did't put Counter at the starting of the dictionary it's not giving error with dictionary also

d = Counter({'cat' : 2})
print(d['pet'])

Shivam_Manswalia
Автор

Why does the Counter collection have a subtract method and not an add method?

al-.W
Автор

c = Counter('hello')
d = [ 'h', 'e' ]
c.subtract(d)
print(c)

wongkingshun
Автор

So why does d remain -2? What was subtracted from d? And also it might help to explain that because there is 2 b's that equal 2, it subtracts 2 for each b. I got it after a second but there are those who wouldn't. However Awesome vid. Really just being a bit picky to have a reason to comment. I would like to know why d remained -2 though.

jhassee
Автор

What is the time complexity of collections.Counter()?

cynicallemon
Автор

This a trademark post for the best videos in tech🤩! Leave a like😎💯

Ploki_Star
Автор

please tell about TensorFlow Programs in Python

alok