The Real Python Podcast

Sentiment Analysis, Fourier Transforms, and More Python Data Science


Listen Later

Are you interested in learning more about Natural Language Processing? Have you heard of sentiment analysis? This week on the show, Kyle Stratis returns to talk about his new article titled, Use Sentiment Analysis With Python to Classify Movie Reviews. David Amos is also here, and all of us cover another batch of PyCoder’s Weekly articles and projects.

Kyle discusses an article about distance metrics for machine learning. David shares a Real Python article about Python signal processing and Fourier transforms with scipy.fft. We also cover several other articles and projects from the Python community including, simulating real-world processes in Python with SimPy, working with Microsoft Excel using Python and OpenPyXL, why running code during import is a bad idea, what I wish I knew as a junior dev, the Raspberry Pi 400 personal computer, dynamic sky replacement and harmonization in videos with SkyAR.

Course Spotlight: Simulating Real-World Processes in Python With SimPy

In this step-by-step course, you’ll see how you can use the SimPy package to model real-world processes with a high potential for congestion. You’ll create an algorithm to approximate a complex system, and then you’ll design and run a simulation of that system in Python.

Topics:

  • 00:00:00 – Introduction
  • 00:02:56 – Use Sentiment Analysis With Python to Classify Movie Reviews
  • 00:09:49 – OpenPyXL: Working with Microsoft Excel Using Python
  • 00:12:41 – An Illustration of Why Running Code During Import Is a Bad Idea
  • 00:16:52 – Distance Metrics for Machine Learning
  • 00:22:52 – Sponsor: linode.com
  • 00:22:52 – What I Wish I Knew as a Junior Dev
  • 00:35:29 – Fourier Transforms With scipy.fft: Python Signal Processing
  • 00:39:44 – Simulating Real-World Processes in Python With SimPy
  • 00:43:30 – Video Course Spotlight
  • 00:44:35 – Raspberry Pi 400 Personal Computer Kit Now Available
  • 00:49:55 – SkyAR: Dynamic Sky Replacement and Harmonization in Videos
  • 00:52:04 – Creating an Idea Factory with Roam Research
  • 00:56:02 – Thanks and goodbye
  • Show Links:

    Use Sentiment Analysis With Python to Classify Movie Reviews – In this tutorial, you’ll learn about sentiment analysis and how it works in Python. You’ll then build your own sentiment analysis classifier with spaCy that can predict whether a movie review is positive or negative.

    OpenPyXL: Working with Microsoft Excel Using Python – Ah, Excel. Everyone loves to hate it. But let’s face it. Excel is one of the most popular pieces of software ever written. But you love Python, not Excel, which is why you might want to learn OpenPyXL.

    An Illustration of Why Running Code During Import Is a Bad Idea (And How It Happens Anyway) – Code that runs when a module is imported is usually a code smell. But sometimes there’s no way around it.

    Distance Metrics for Machine Learning – Many machine learning algorithms can be summarized as transforming data to n-dimensional vectors and computing similarity between points by means of some distance metric. This article explores four of these metrics—the Euclidean, Manhattan, Minkowski, and Hamming distances—and how to compute them with Python.

    What I Wish I Knew as a Junior Dev – Some of these are things even senior devs need to be reminded of sometimes!

    Fourier Transforms With scipy.fft: Python Signal Processing – In this tutorial, you’ll learn how to use the Fourier transform, a powerful tool for analyzing signals with applications ranging from audio processing to image compression. You’ll explore several different transforms provided by Python’s scipy.fft module.

    Projects:

    • Simulating Real-World Processes in Python With SimPy
    • Raspberry Pi 400 Personal Computer Kit Now Available
    • SkyAR: Dynamic Sky Replacement and Harmonization in Videos
    • Additional Links:

      • Python Job Hunting in a Pandemic: RPP Episode 10
      • Natural language processing: Wikipedia
      • spaCy: Industrial-Strength Natural Language Processing in Python
      • Natural Language Processing With spaCy in Python
      • Natural Language Toolkit
      • Building PDFs in Python with ReportLab: RPP Episode 20
      • Mouse vs Python: Mike Driscoll Blog
      • Python 101: 2nd Edition
      • openpyxl - A Python library to read/write Excel 2010 xlsx/xlsm files
      • Editing Excel Spreadsheets in Python With openpyxl
      • How to Read a Book: The Ultimate Guide by Mortimer Adler
      • import antigravity: The History of Python Blog
      • How to Take Smart Notes by Sönke Ahrens - Summary
      • Kyle Stratis’ YouTube Channel
      • Creating an Idea Factory with Roam Research
      • Level up your Python skills with our expert-led courses:

        • Simulating Real-World Processes in Python With SimPy
        • Python Coding Interviews: Tips & Best Practices
        • Editing Excel Spreadsheets in Python With openpyxl
        • Support the podcast & join our community of Pythonistas

          ...more
          View all episodesView all episodes
          Download on the App Store

          The Real Python PodcastBy Real Python

          • 4.7
          • 4.7
          • 4.7
          • 4.7
          • 4.7

          4.7

          136 ratings


          More shows like The Real Python Podcast

          View all
          Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

          Software Engineering Radio - the podcast for professional software developers

          272 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          283 Listeners

          Thoughtworks Technology Podcast by Thoughtworks

          Thoughtworks Technology Podcast

          41 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          592 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          624 Listeners

          Soft Skills Engineering by Jamison Dance and Dave Smith

          Soft Skills Engineering

          269 Listeners

          Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

          Super Data Science: ML & AI Podcast with Jon Krohn

          298 Listeners

          Python Bytes by Michael Kennedy and Brian Okken

          Python Bytes

          213 Listeners

          Data Engineering Podcast by Tobias Macey

          Data Engineering Podcast

          142 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          982 Listeners

          DataFramed by DataCamp

          DataFramed

          266 Listeners

          Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

          Kubernetes Podcast from Google

          181 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          190 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          64 Listeners

          The Pragmatic Engineer by Gergely Orosz

          The Pragmatic Engineer

          52 Listeners