profile

Learn Data Science from Data School 📊

Kevin Markham

Join 25,000+ aspiring Data Scientists and receive Python & Data Science tips every Tuesday!

Featured Post

NEW COURSE: pandas in 30 days 📈

Hi Reader, Do any of these sound like you? You're new to the pandas library and you want to learn the fundamentals You have some experience with pandas, but you want to fill in the gaps in your knowledge You want to learn the best practices for data analysis with pandas in 2024 If so, you should enroll in my FREE course (launching today!), pandas in 30 days. Why learn pandas? pandas is a powerful, open source Python library for data analysis, manipulation, and visualization. If you're working...

9 days ago • 1 min read

Hi Reader, There's a gift for you somewhere in this email... just look for the 🎁 emoji! Tip #39: Six quick Python tricks Here's what I'll cover below: Return the number of unique values Count values with Counter Better debugging with f-strings Return multiple values from a function Count while looping Create a dictionary with a comprehension Let's get started! 👇 1️⃣ Return the number of unique values Need to know the number of unique values in an iterable? Convert it to a set and check the...

16 days ago • 2 min read

Hi Reader, My goal with Tuesday Tips is to help you get better at Data Science every week. Is there anything that would make these tips even more helpful for you? Let me know! 💬 You can find past tips at tuesday.tips. (Yes, that’s a real URL!) Tip #38: Five ways to rename your DataFrame columns Let's say that we have a simple pandas DataFrame: I prefer to use dot notation to select pandas columns, but that won't work since the column names have spaces. Let's fix this! The most flexible method...

23 days ago • 1 min read

Hi Reader, How's your January going? I've been playing a lot of Pokémon (the card game) with my 7 year-old... actually I'm the one who's always bugging him to play 😂 Are you a Pokémon fan? Meowscarada ex, anyone? Link of the week Introduction to Polars (Practical Business Python) Have you heard of Polars? In short, it's a high-performance, memory-efficient alternative to pandas. If you're new to Polars, this blog post walks through basic Polars code and compares it to pandas. Tip #37:...

about 1 month ago • 1 min read

Hi Reader, Do you have a topic you'd like me to cover in a future tip? Reply and let me know! 💌 Link of the week Deep Learning Fundamentals (free course) Are you interested in getting started with Deep Learning in Python? I haven't taken this course, but it looks promising! I was thinking of starting a YouTube series in which I work through this course and share some of my learnings (and questions), and then you could follow along at home. Would that be of interest to you? Tip #36: Eight...

about 1 month ago • 2 min read

Hi Reader, Happy (belated) new year! 🥳 I just updated my email settings in order to comply with the latest anti-spam rules. Would you reply to this email so that I know you received it? You don’t even need to write anything… just click Reply, then Send. Thank you! 🙏 Link of the week Can One Episode Ruin a TV Show?​ This is an excellent example of a thoughtful and engaging statistical analysis. It has a strong narrative and relevant visualizations. See if you can incorporate some of those...

about 1 month ago • 3 min read

Hi Reader, Soon it will be winter break for my 6-year-old, so this is going to be my last Tuesday Tip of the year! ⛄ Tip #34: What's the difference between conda, Anaconda, and Miniconda? If you've ever taken one of my courses, you may have noticed that I frequently recommend the Anaconda distribution of Python. You might be left wondering: What is the Anaconda distribution, and why do people recommend it? How is it related to conda? How is it related to Miniconda? As a data scientist, which...

3 months ago • 2 min read

Hi Reader, Thanks for sticking with me through all of those Black Friday emails! 😂 Seriously, though, I'm glad you're still here! 🙌 Now it's time to get back to the tips! 🎓 Link of the week Visual Anagrams​ This is a collection of "multi-view" optical illusions generated by diffusion models (similar to DALL-E and Stable Diffusion). I can't get over how good these are, and I'd encourage you to spend a few minutes checking them out! There's also a research paper explaining how these were...

3 months ago • 3 min read

Hi Reader, Starting next week, I’ll be offering a Black Friday sale on ALL of my courses. I’ll send you the details tomorrow! 🚨 Link of the week Visual Vocabulary (PDF) Not sure which type of visualization to use? This beautiful poster from the Financial Times will help direct you to a suitable visualization based on the type of data you have and the story you're trying to tell. Also available in Spanish, French, Chinese, and Japanese. Tip #32: Explore, filter, and reshape your data with...

4 months ago • 3 min read

Hi Reader, In two weeks, I’ll be offering a Black Friday sale on ALL of my courses. I’ll send you the details next week! Link of the week Easier data analysis with pandas (free) This is my video series about pandas, the most popular Python library for data analysis. There are 30+ videos, most of which are designed for pandas beginners, though intermediate users can skip to the “bonus” videos at the bottom. Normally I won’t link to my own tutorials in this section, but it seemed appropriate...

4 months ago • 2 min read
Share this page