#lazyframe — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lazyframe, aggregated by home.social.
-
I was annoyed that there is no "expand_grid()" function in :python: #Python as in :rstats: #RStats #tidyverse
So I just published a small package on #PyPI !
Introducing polarsgrid
https://pypi.org/project/polarsgrid/Using the excellent #polars 🐻❄️ package, easily create a table with product of factors:
from polarsgrid import expand_grid
expand_grid(a=[1, 2, 3], b=["x", "y"])Yields all combinations of its inputs as a #DataFrame
It can also produce a #LazyFrame for streaming extra-big tables to disk
-
I was annoyed that there is no "expand_grid()" function in :python: #Python as in :rstats: #RStats #tidyverse
So I just published a small package on #PyPI !
Introducing polarsgrid
https://pypi.org/project/polarsgrid/Using the excellent #polars 🐻❄️ package, easily create a table with product of factors:
from polarsgrid import expand_grid
expand_grid(a=[1, 2, 3], b=["x", "y"])Yields all combinations of its inputs as a #DataFrame
It can also produce a #LazyFrame for streaming extra-big tables to disk
-
I was annoyed that there is no "expand_grid()" function in :python: #Python as in :rstats: #RStats #tidyverse
So I just published a small package on #PyPI !
Introducing polarsgrid
https://pypi.org/project/polarsgrid/Using the excellent #polars 🐻❄️ package, easily create a table with product of factors:
from polarsgrid import expand_grid
expand_grid(a=[1, 2, 3], b=["x", "y"])Yields all combinations of its inputs as a #DataFrame
It can also produce a #LazyFrame for streaming extra-big tables to disk
-
I was annoyed that there is no "expand_grid()" function in :python: #Python as in :rstats: #RStats #tidyverse
So I just published a small package on #PyPI !
Introducing polarsgrid
https://pypi.org/project/polarsgrid/Using the excellent #polars 🐻❄️ package, easily create a table with product of factors:
from polarsgrid import expand_grid
expand_grid(a=[1, 2, 3], b=["x", "y"])Yields all combinations of its inputs as a #DataFrame
It can also produce a #LazyFrame for streaming extra-big tables to disk
-
I was annoyed that there is no "expand_grid()" function in :python: #Python as in :rstats: #RStats #tidyverse
So I just published a small package on #PyPI !
Introducing polarsgrid
https://pypi.org/project/polarsgrid/Using the excellent #polars 🐻❄️ package, easily create a table with product of factors:
from polarsgrid import expand_grid
expand_grid(a=[1, 2, 3], b=["x", "y"])Yields all combinations of its inputs as a #DataFrame
It can also produce a #LazyFrame for streaming extra-big tables to disk