You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using KDB+ 3.5 and I find there is a command in line#89:
H:(shape H)#K;
It dose not work and report an error with "shape".
So I wonder whether the command shape can only be used in KDB+ with version above 4.0 or is there any code to calculate number of rows and columns of a table?
The text was updated successfully, but these errors were encountered:
So sorry, I had defined shape as my own function, for 2d arrays with
constant size -
k)shape:{(#x),(#x[0])}
Will update the code, thank you for pointing that out, I usually have that
in my pre-load file, inside q.q
Kumar
On Sat, Dec 16, 2017 at 12:34 PM, liutongwei ***@***.***> wrote:
Hi, I'm using KDB+ 3.5 and I find there is a command in line#89:
H:(shape H)#K;
It dose not work and report an error with "shape".
So I wonder whether the command shape can only be used in KDB+ with
version above 4.0 or is there any code to calculate number of rows and
columns of a table?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEtZ9lihxZW2WZbrdkvDsrXPTT1ZLXB7ks5tA2tfgaJpZM4REQGe>
.
Hi, I'm using KDB+ 3.5 and I find there is a command in line#89:
H:(shape H)#K;
It dose not work and report an error with "shape".
So I wonder whether the command shape can only be used in KDB+ with version above 4.0 or is there any code to calculate number of rows and columns of a table?
The text was updated successfully, but these errors were encountered: