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, Hope youโve had a nice summer! โ๏ธ As for me, Iโve been finishing my first ever book! I canโt wait to tell you about it and invite you to be part of the launchโฆ stay tuned ๐ Today's email focuses on a single important topic: AIโs impact on your mental health ๐ง Read more below! ๐ Sponsored by: Morning Brew The 5-Minute Newsletter That Makes Business Make Sense Business news doesn't have to be dry. Morning Brew gives you the biggest stories in business, tech, and finance with quick...
Hi Reader, Most of us access Large Language Models (LLMs) through a web interface, like ChatGPT or Claude. Itโs highly convenient, though there are two potential drawbacks: Cost: Some amount of usage is free, but heavy usage (or access to premium models) costs money. Privacy: Depending on the service, your chats may be used to train future models. (Or at the very least, your chats may be accessed if ordered by a court.) One solution is to run an LLM locally, which has gotten much easier with...
Hi Reader, Here are your top AI stories for the week: AI-driven education in 2 hours per day Add yourself to an AI-generated TV show AI models send "subliminal messages" to one another Read more below! ๐ Sponsored by: Superhuman AI Find out why 1M+ professionals read Superhuman AI daily. AI won't take over the world. People who know how to use AI will. Here's how to stay ahead with AI: Sign up for Superhuman AI. The AI newsletter read by 1M+ pros. Master AI tools, tutorials, and news in just...