1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] polars: how to find out the number of columns in a polars expression?

Discussão em 'Python' iniciado por Stack, Setembro 15, 2024.

  1. Stack

    Stack Membro Participativo

    I'm building a package on top of Polars, and one of the functions looks like this

    def func(x: IntoExpr, y: IntoExpr):
    ...


    The business logic requires that x can include multiple columns, but y must be a single column.

    What should I do to check and validate this?

    Continue reading...

Compartilhe esta Página