Why dataclasses in Python are awesome!

preview_player
Показать описание
Learn why dataclasses in Python are awesome and how to use them.

📓 ML Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel:

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

#Python #shorts
Рекомендации по теме
Комментарии
Автор

A rare example of genuinely good advice from this guy

seventeeen
Автор

Haha thank you, I see these at work but never got around to fully understanding them

mapledrop
Автор

On large screens, YT places the mute button under the like button so you can never press it and hear the video. All you can do is repeatedly like/dislike. Good job Google!

dakoderii
Автор

man!!! you're awesome. Love your shorts.

GauravRajput-ydlg
Автор

love shorts like this <3 thanks for the advice bro

ibnuilhaam
Автор

This is a wonderful feature . I have recently used it too.

manojm
Автор

Arjan Codes uses them a lot. Since I learned from them and their tricks it's true that the code is much more simpler and easier to read.

GunZFoX
Автор

Can you add custom methods to them like you normally would?

Darkev
Автор

That's why c++ and kotlin are awesome

romyromy
Автор

🤯Brilliant. As a python noob this was mind-blowing for me. More shorts like this please 🙏🙏🙏🙏

prasoondhapola
Автор

time to shove this into my next .py file in school

TetyLike
Автор

So are these basically like a struct in C/C++?

TomGrubbe
Автор

You know, the best way I found to learn python was to just do it. Pick a project or topic that interests you and learn as you go. Learning the theory is great and all but you can read every book and still struggle to put it into practice. Don’t fall for the crash courses or the expensive books. Learn by doing, it’s the best education you can get.

Good luck my fellow nerds!

Marcus_Sherman
Автор

So are there any situations where you wouldn't want to use a data class?

tommysmith
Автор

How is the dataclass decorator implemented?

hawks
Автор

Can you use them instead in all situations?

khaledalshammari
Автор

This is awesome atleast coming from c sharp the data class decorator is easier to grasp

ziokam
Автор

Please make dsa full course in python please🙏

wayofmuhammad
Автор

Why would need to compare object if they are equal

sparsh
Автор

Thanks I knew it but often forget to use it

johnstarfire