hey, i want let `select` can accept a column-list ...
# daft-dev
c
hey, i want let
select
can accept a column-list as function argument. So I make the change, but I got some error when committing. So could you help me on this problem? @jay @Sammy Sidhu
j
Hmm why would you want to accept column lists? Could you not just add
*[...]
to the list before passing it in
c
yes, it is a solution, but a little cumbersome. it is better to provide a convenient way to accept both
*args
and
[]
parameter
j
I think it’s nice to mostly have one way to do things if possible! Adding a
*
is very low-lift for a user, and easier for typing and understanding the functions signature of
.select
If needed we can add some documentation to let them know to do so!