Daily Dose of Data Science
Subscribe
Sign in
Home
Premium
Archive
About
Debugging
New
How To Enforce Type Hints in Python?
...and make them more powerful.
Avi Chawla
Jun 21
16
Share this post
How To Enforce Type Hints in Python?
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
7
Debugging Made Easy With PySnooper
Rather than using many print statements to debug your python code, try PySnooper. With just a single line of code, you can easily track the variables at…
Avi Chawla
Dec 12, 2022
Share this post
Debugging Made Easy With PySnooper
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
Deep Learning Network Debugging Made Easy
Aligning the shape of tensors (or vectors/matrices) in a network can be challenging at times. As the network grows, it is common to lose track of…
Avi Chawla
Dec 9, 2022
Share this post
Deep Learning Network Debugging Made Easy
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
Lesser-known Feature of f-strings in Python
While debugging, one often explicitly prints the name of the variable with its value to enhance code inspection. Although there's nothing wrong with…
Avi Chawla
Nov 6, 2022
6
Share this post
Lesser-known Feature of f-strings in Python
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
Inspect Program Flow with IceCream
While debugging, one often writes many 𝗽𝗿𝗶𝗻𝘁() statements to inspect the program's flow. This is especially true when we have many IF conditions…
Avi Chawla
Oct 29, 2022
2
Share this post
Inspect Program Flow with IceCream
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
Fine-grained Error Tracking With Python 3.11
Python 3.11 was released today, and many exciting features have been introduced. For instance, various speed improvements have been implemented. As per…
Avi Chawla
Oct 25, 2022
1
Share this post
Fine-grained Error Tracking With Python 3.11
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
Don't use print() to debug your code.
Debugging with print statements is a messy and inelegant approach. It is confusing to map the output to its corresponding debug statement. Moreover, it…
Avi Chawla
Oct 9, 2022
4
Share this post
Don't use print() to debug your code.
www.blog.dailydoseofds.com
Copy link
Facebook
Email
Notes
Other
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts