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 weekYann 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, 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...
Hi Reader, Yesterday, I posted this announcement on LinkedIn and Bluesky and X: Kevin Markham @justmarkham Dream unlocked: I'm publishing my first book! 🎉🎉🎉 It's called "Master Machine Learning with scikit-learn: A Practical Guide to Building Better Models with Python" Download the first 3 chapters right now: 👉 https://dataschool.kit.com/mlbook 👈 Thanks for your support 🙏 1:47 PM • Sep 11, 2025 1 Retweets 5 Likes Read 1 replies This has been a dream of mine for many years, and I'm so excited...
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...