home.social

#lazyframe — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #lazyframe, aggregated by home.social.

  1. 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
    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

  2. I was annoyed that there is no "expand_grid()" function in :python: as in :rstats:

    So I just published a small package on !

    Introducing polarsgrid
    pypi.org/project/polarsgrid/

    Using the excellent 🐻‍❄️ 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

    It can also produce a for streaming extra-big tables to disk

  3. 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
    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

  4. 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
    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

  5. 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
    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