pwshub.com

The Real Python Podcast – Episode #224: Narwhals: Expanding DataFrame Compatibility Between Libraries

Real Python Podcast Episode #224 Title Artwork

The Real Python Podcast

Oct 18, 2024 1h

Marco Gorelli

Marco Gorelli
Guest

How does a Python tool support all types of DataFrames and their various features? Could a lightweight library be used to add compatibility for newer formats like Polars or PyArrow? This week on the show, we speak with Marco Gorelli about his project, Narwhals.

Episode Sponsor:

Narwhals is a project aimed at library maintainers rather than end users. We discuss how the added compatibility benefits users by supporting modern features like lazy evaluation. We cover several projects Marco has been working with to implement Narwhals, including Altair, scikit-lego, and Ibis.

We also discuss how Marco started contributing to open-source projects. Marco has contributed to both pandas and Polars, which helps explain his interest in growing compatibility between libraries. He also offers advice on making your first contribution.

This episode is sponsored by CodeRabbit.

Topics:

  • 00:00:00 – Introduction
  • 00:02:02 – Euro SciPy 2024 and sprints
  • 00:04:04 – How did you get involved in open source?
  • 00:07:18 – Finding a good issue to get started
  • 00:09:25 – Discord and open-source projects
  • 00:11:12 – Who would you describe Narwhals?
  • 00:16:47 – Working on Polars
  • 00:19:17 – Apache Arrow and a data interchange protocol
  • 00:22:55 – Sponsor: CodeRabbit
  • 00:23:55 – Digging into eager vs lazy
  • 00:27:04 – Ibis DataFrame library
  • 00:28:57 – What do libraries need from Narwhals?
  • 00:34:57 – The scikit-lego library
  • 00:37:15 – Video Course Spotlight
  • 00:38:45 – Other libraries interested in Narwhals
  • 00:41:56 – Compatibility policy
  • 00:45:18 – What should an end user expect?
  • 00:46:32 – Have other projects that attempted this?
  • 00:47:54 – Keeping the project light and pure Python
  • 00:49:32 – Contributors and how to get involved
  • 00:54:42 – What are you excited about in the world of Python?
  • 00:57:18 – What do you want to learn next?
  • 00:59:05 – How can people follow your work online?
  • 00:59:27 – Thanks and goodbye

Show Links:

Level Up Your Python Skills With These Courses:

Source: realpython.com

Related stories
1 month ago - Are you interested in practicing your Python skills while learning how to solve astrophysics and astronomy problems? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
1 month ago - How do you take advantage of Git pre-commit hooks? How do you build custom software checks and rules that run every time you commit your code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly...
1 month ago - What are strategies for being a productive developer with ADHD? How can you help your team members with ADHD to succeed and complete projects? This week on the show, we speak with Chris Ferdinandi about his website and podcast "ADHD For...
3 weeks ago - Should you use a Python virtual environment in a Docker container? What are the advantages of using the same development practices locally and inside a container? Christopher Trudeau is back on the show this week, bringing another batch...
1 week ago - Python 3.13 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. This year, Geir Arne coordinated a series of preview articles with members of the Real Python team and a showcase...
Other stories
16 minutes ago - Introducing Serhii — an exceptional creative digital designer whose concepts and visual techniques evoke both tears and admiration from developers.
37 minutes ago - Influencing others isn’t about manipulation or getting your way at all costs. It’s about understanding people, building connections, and guiding conversations in a way that benefits everyone involved. Whether you’re at work, talking with...
37 minutes ago - The internet has come a long way since its humble beginnings, from a small network meant to share research to a global phenomenon that shapes the way we live, work, and play. Along the way, certain websites have left an indelible mark on...
2 hours ago - What is Hotjar? Hotjar is a product experience insight platform that helps businesses better understand their audience through visual behavior insights, interviews, and in-the-moment feedback. It offers 5 key features: heatmaps, session...
2 hours ago - Applicant Tracking System (ATS) frees hiring teams by automating tasks like resume parsing, data collection, interview scheduling, candidate ratings, onboarding, etc. Currently, the global market size of ATS is above $15 billion. By 2030,...