|
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, 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...
Hi Reader, I just published a new YouTube video: How to use top AI models on a budget Description: Want to chat with the best AI models from OpenAI, Claude, and Google without paying $20/month? I'll show you how to use API keys with TypingMind to access top models for a fraction of the cost, demonstrate its killer feature of chatting with multiple models side-by-side, and explain when paying for a subscription is actually the smarter choice. Timestamps: 0:00 Introduction 0:37 Pay-per-token...
Hi Reader, On Friday, I announced my forthcoming book, Master Machine Learning with scikit-learn. In response, my Dad asked me: How does the subject of this book relate to Artificial Intelligence? In other words: What's the difference between AI and Machine Learning? Ponder that question for a minute, then keep reading to find out how I answered my Dad... π AI vs Machine Learning Here's what I told my Dad: You can think of AI as a field dedicated to creating intelligent systems, and Machine...