Sveriges mest populära poddar

The Real Python Podcast

Python Regular Expressions, Views vs Copies in Pandas, and More

45 min • 26 juni 2020

Have you wanted to learn Regular Expressions in Python, but don’t know where to start? Have you stumbled into the dreaded pink SettingWithCopyWarning in Pandas? This week on the show, we have David Amos from the Real Python team to discuss a recent two-part series on Regex in Python. We also talk about another recent article on the site about views vs copies in Pandas. David also brings a few other articles and projects from the wider Python community for us to discuss.

David searches for the latest Python news, links, and articles to produce PyCoder’s Weekly with Dan Bader. PyCoder’s Weekly is a free email newsletter for those interested in Python development. Along with the previously mentioned Real Python articles, we also discuss articles from the community about: getting machine learning to production, combining Flask and Vue, space science with Python, and the fastest way to flatten a list in Python.

Topics:

  • 00:00:00 – Introduction
  • 00:01:40 – SettingWithCopyWarning in Pandas
  • 00:06:17 – Fastest Way to Flaten a List in Python
  • 00:12:12 – Combining Flask and Vue
  • 00:15:33 – Regular Expressions in Python
  • 00:23:08 – Video Course Spotlight
  • 00:24:00 – Space Science With Python
  • 00:30:13 – Getting Machine Learning to Production
  • 00:37:15 – genetic-drawing
  • 00:39:42 – MicroscoPy
  • 00:43:55 – Thanks and Goodbye

Show Links:

SettingWithCopyWarning in Pandas: Views vs Copies – In this tutorial, you’ll learn about views and copies in NumPy and Pandas. You’ll see why the SettingWithCopyWarning occurs in Pandas and how to properly write code that avoids it.

Fastest Way to Flatten a List in Python – Explore six different was to flatten a list of lists in Python and how their performance compares. The fastest of the six methods mentioned might surprise you!

Combining Flask and Vue – Learn about three ways to combine Flask and Vue, the pros and cons of each, and some guidelines for when to use each method.

Regular Expressions: Regexes in Python (Part 2) – In the previous tutorial in this series, you learned how to perform sophisticated pattern matching using regular expressions, or regexes, in Python. This tutorial explores more regex tools and techniques that are available in Python.

Space Science With Python – Explore and analyze the wonders and mysteries of space… with Python!

Getting Machine Learning to Production – Millions of web apps get deployed to production every day. But machine learning models aren’t web apps. And very few people are talking about deployment. Learn how tools like Streamlit can help take the edge off deploying your machine learning models.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

Kategorier
Förekommer på
00:00 -00:00