KX Community

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

Home Forums kdb+ qpython to select columns from table Re: qpython to select columns from table

  • powerpeanuts

    Member
    July 12, 2022 at 12:00 am

    Thanks @rocuinneagain. I was trying the functional select and have to convert the strings to <class ‘numpy.bytes_’> first (I am using python 3), i.e.

     

    q("{?[y;();0b;{x!x}(),x]}", np.bytes_("iq"), np.bytes_("t"))