|
Hi Reader, Next week, Iβll be offering a Black Friday sale on ALL of my courses. Iβll send you the details this Thursday! π¨ π Tip #50: What is a "method" in Python?In Python, a method is a function that can be used on an object because of the object's type. For example, if you create a Python list, the " If you create a Python string, the " To be clear, my_list doesn't have an " βοΈ Calling a methodTo call a method, the format is The method implicitly acts on the object being named, and thus some methods don't have any stated arguments since the object itself is the only necessary argument. For example, π What about modules?One common point of confusion relates to the following: Is " The format being used here is You can distinguish between the two formats by examining the imports to see whether or not the part before the period (" π Want to level up your Python skills?Whether you're new to Python or just want to fill in the gaps in your knowledge, I'd invite you to join 500+ happy students in my signature Python course, Python Essentials for Data Scientists. π See you on Thursday!In two days, I'll be sending you the details of my Black Friday sale! π - Kevin P.S. Playing a prank on Google Street Viewβ Did someone AWESOME forward you this email? Sign up here to receive more Data Science tips! |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, I'm thrilled to announce that my new book, Master Machine Learning with scikit-learn, is now on sale! Buy from Amazon I poured my heart and soul into making this the highest quality and most practical Machine Learning book available. Publishing this book is a dream come true, and I'd be grateful if you'd consider picking up a copy! π Option 1: Get the paperback from Amazon ($19) Although most technical books of this size (300+ pages) tend to sell for at least $39, I've priced the...
Hi Reader, A few months ago, I announced that my new book, Master Machine Learning with scikit-learn, would be published in December. Since then, my personal life has undergone some dramatic changes π₯΄ During the transition, it has been challenging to focus on anything other than bare life essentials π½οΈ π πΏ Thankfully, my life has begun to steady (yay!), and so in the past few weeks I've been able to wrap up some key pieces of the project! β I'm thrilled to hold in my hands the FINAL proof...
Hi Reader, happy new year! π I wanted to share with you the three most important articles I found that look back at AI progress in 2025 and look forward at what is coming in 2026 and beyond. Iβve extracted the key points from each article, but if you have the time and interest, Iβd encourage you to read the full articles! π The Shape of AI: Jaggedness, Bottlenecks and Salients By Ethan Mollick βJaggednessβ describes the uneven abilities of AI: Itβs superhuman in some areas and far below human...