KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Question in passing elements of 2 same-length lists by ‘each’ keyword

  • Question in passing elements of 2 same-length lists by ‘each’ keyword

    Posted by jackyyuk on June 12, 2024 at 4:58 am

    Hello all,

    Is it possible to pass elements of 2 same-length lists by ‘each’ keyword in the same time? In my case, list 1 is a nested list of lists, and list 2 contains index of the element on each row in list 1, so I would like to do something like:

    {[e1;e2] e1[e2] : new values } [ ; ] each list1,list2

    Is there any simple way to do so?

    Thanks very mush.

    Jacky

    rocuinneagain replied 5 months, 1 week ago 2 Members · 1 Reply
  • 1 Reply

Log in to reply.