Artwork

内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Narwhals: Expanding DataFrame Compatibility Between Libraries

1:00:33
 
分享
 

Manage episode 445749611 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

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.

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.

Course Spotlight: Differences Between Python’s Mutable and Immutable Types

In this video course, you’ll learn how Python’s mutable and immutable data types work internally and how you can take advantage of mutability or immutability to power your code.

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 our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

243集单集

Artwork
icon分享
 
Manage episode 445749611 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

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.

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.

Course Spotlight: Differences Between Python’s Mutable and Immutable Types

In this video course, you’ll learn how Python’s mutable and immutable data types work internally and how you can take advantage of mutability or immutability to power your code.

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 our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

243集单集

所有剧集

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南

边探索边听这个节目
播放