Hi Reader, I just published a new blog post, Get started with conda environments. If you’re new to virtual environments in Python, give it a read! Once you start using virtual environments, you’ll wonder how you ever got along without them! 🔗 Link of the week​Yann LeCun on the future of AI (Lex Fridman interview) Yann LeCun is one of the “godfathers of Deep Learning”, the Chief AI Scientist at Meta, and (in my opinion) one of the clearest and most convincing thinkers on the future of AI. It’s a long interview (2 hr 45 min), and some of the sections are highly technical, so use the timestamps to jump to the parts that interest you most. Lex is a world-class interviewer and an AI researcher, and he was the perfect person to conduct this conversation. Highly recommended! 👉 Tip #41: Profile your pandas DataFrame in one line of codeLet’s say that you’ve got a new dataset you want to quickly explore without too much work. Here’s what to do: Step 1: Install ydata-profiling​ Step 2: Import ydata_profiling in Jupyter Step 3: Run the ProfileReport() function and pass it any DataFrame Voilà ! It returns an interactive report in HTML format. The report’s first section is an overview of the dataset and a list of possible issues with the data: The second section gives a summary of each column: The third section lets you explore feature interactions: The fourth section visualizes missing values: And the final section shows a sample of the dataset: Want more tricks like this? Check out My top 25 pandas tricks on YouTube (250K+ views), or enroll in my new course, pandas in 30 days! 👋 See you next Tuesday!Did you like this week’s tip? Please forward it to a friend or share this link with your favorite online community. It really helps me out! 🙌 - Kevin P.S. How This Guy Makes the World’s Best Puzzle Boxes (WIRED video) Did someone AWESOME forward you this email? Sign up here to receive Data Science tips every week! |
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...