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, Here are your top AI stories for the week: ChatGPT can weaken your brain Claude shares nerve gas recipe Amsterdam ends AI experiment due to bias Read more below! 👇 Sponsored by: Brain.fm Transform Your Focus With Brain.fm I know you're always on the hunt for tools that genuinely improve your life—which is why I'm excited to introduce you to Brain.fm's groundbreaking focus music. Brain.fm's patented audio technology was recently validated in a top neuroscience journal, showing how...
Hi Reader, Last week, I invited you to help me test Google's Data Science Agent in Colab, which promises to automate your data analysis. Does it live up to that promise? Let's find out! 👇 Sponsored by: Morning Brew Business news you’ll actually enjoy Join 4M+ professionals who start their day with Morning Brew—a free daily newsletter that makes business, tech, and finance news genuinely enjoyable to read and hard to forget. Each morning, it breaks down complex stories in plain English—cutting...
Hi Reader, Today I'm trying something brand new! I wrote short summaries of the 5 most important AI stories this week, and also turned it into a video: Watch the video I'd love to know what you think! 💬 AI-generated TV ad airs during NBA finals Prediction market Kalshi just aired this AI-generated ad on network TV during the NBA finals. It was created in just two days by one person using Google's new Veo 3 video model, plus scripting help from Google's Gemini chatbot. Expect to see many more...