Pretty focused on Narwhals and Polars these days, generally interested in dataframes and time series
🔌Just install the `narwhals-daft` plugin, and then `narwhals.from_native` will accept Daft DataFrame!
💡 No extra dependencies requires, computation will remain native (and distributed, and lazy!) until you call `collect`
🔌Just install the `narwhals-daft` plugin, and then `narwhals.from_native` will accept Daft DataFrame!
💡 No extra dependencies requires, computation will remain native (and distributed, and lazy!) until you call `collect`
💡 Compute any Expr aggregation on a list column, just use `pl.element()`
🔜 Coming soon, in version 1.35!
💡 Compute any Expr aggregation on a list column, just use `pl.element()`
🔜 Coming soon, in version 1.35!
👉 For more on free-threaded Python, my colleague Nathan's blog post is an excellent read, link in comments
👉 For more on free-threaded Python, my colleague Nathan's blog post is an excellent read, link in comments
🧵 Create new string columns using placeholders and expressions
🌊🦄 Yet another piece of the @pola.rs API brought to pandas, @duckdb.org , PySpark, PyArrow, and more!
🧵 Create new string columns using placeholders and expressions
🌊🦄 Yet another piece of the @pola.rs API brought to pandas, @duckdb.org , PySpark, PyArrow, and more!
🏷️ Enjoy improved code completion and typing!
🙏 Thank you to Quansight Labs and Meta for having facilicated and funded the work (blog post in comments)
🏷️ Enjoy improved code completion and typing!
🙏 Thank you to Quansight Labs and Meta for having facilicated and funded the work (blog post in comments)
🌊🦄 Powered by Narwhals
🌊🦄 Powered by Narwhals
🏷️ Your editor will display inferred types for variables you haven't annotated
🕵️ Debugging those red squiggly lines will become much easier
🏷️ Your editor will display inferred types for variables you haven't annotated
🕵️ Debugging those red squiggly lines will become much easier
💡 You can use it for clean chaining in `assign` and `loc`
🚀 It's happening, the PR just got merged!
💡 You can use it for clean chaining in `assign` and `loc`
🚀 It's happening, the PR just got merged!
🌊🦄 As of Narwhals 2.0 (yes, we've released 2.0 🚀), this feature is available there as well! Little example below with our friend @duckdb.org
🌊🦄 As of Narwhals 2.0 (yes, we've released 2.0 🚀), this feature is available there as well! Little example below with our friend @duckdb.org
Case in point, this pandas comment which was added [checks git log] ... 12 years ago 🙈
Case in point, this pandas comment which was added [checks git log] ... 12 years ago 🙈
Any day now..
Any day now..
🇯🇵 Japanese math rock, 🅿️ porpoises and unfortunate aliases, and 🎤 Taylor Swift:
🥈All of these unexpectedly came up in this fun session, which is currently the 2nd most viewed of the conference
🙏 Thanks @pydatalondon.bsky.social for inviting me!
🇯🇵 Japanese math rock, 🅿️ porpoises and unfortunate aliases, and 🎤 Taylor Swift:
🥈All of these unexpectedly came up in this fun session, which is currently the 2nd most viewed of the conference
🙏 Thanks @pydatalondon.bsky.social for inviting me!
😩 Slightly disappointingly, they do so by converting to pandas
🌊🦄 Could Narwhals help make MLFlow gain native support for Polars? Link to the discussion below 👇
😩 Slightly disappointingly, they do so by converting to pandas
🌊🦄 Could Narwhals help make MLFlow gain native support for Polars? Link to the discussion below 👇
😇 But, this one was so thorough that we just had to ship it
🏆 Thanks to an incredible effort by Ryan Whitten, Narwhals supports Ibis!
💡You can now use Narwhals with all of Ibis' backends, plus some extra, whilst keeping @pola.rs expressive API!
😇 But, this one was so thorough that we just had to ship it
🏆 Thanks to an incredible effort by Ryan Whitten, Narwhals supports Ibis!
💡You can now use Narwhals with all of Ibis' backends, plus some extra, whilst keeping @pola.rs expressive API!
🌊🦄 And it's already supported by Narwhals, including PySpark connect (thanks Francesco Bruzzesi!)
🌊🦄 And it's already supported by Narwhals, including PySpark connect (thanks Francesco Bruzzesi!)
🎬 Here's a demo of a fill-forward function which supports PySpark, @pola.rs , @duckdb.org , pandas, cuDF, and more!
🎁 Bonus: curious about what this looks like as DuckDB SQL? We got you covered 😎
🎬 Here's a demo of a fill-forward function which supports PySpark, @pola.rs , @duckdb.org , pandas, cuDF, and more!
🎁 Bonus: curious about what this looks like as DuckDB SQL? We got you covered 😎
🎇 If you have a dataframe-agnostic function, you can pass in `pyspark.sql.DataFrame`
📈 Here's a demo, made with @marimo.io
🎁 BONUS feature: combine with SQLFrame, to generate SQL from @pola.rs syntax 🪄
🎇 If you have a dataframe-agnostic function, you can pass in `pyspark.sql.DataFrame`
📈 Here's a demo, made with @marimo.io
🎁 BONUS feature: combine with SQLFrame, to generate SQL from @pola.rs syntax 🪄
🙀
🙀