Skip to content

Commit

Permalink
fix typo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosvm13 authored Jan 22, 2024
1 parent adc1b4c commit c39909c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pykx/pandas_api/pandas_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,23 +239,23 @@ def isin(self, values):
else:
ftable = q("""{ [table; values; is_tab; n_rows]
flip (cols table)!
{[col_name;tab;values;v_is_tab; n_rows]
{[col_name; tab; values; v_is_tab; n_rows]
col: tab col_name;
ltype: .Q.ty col;
values: $[99h~type values; values col_name; values];
$[v_is_tab or ltype=" ";;
$[v_is_tab or ltype=" "; ;
values@:where (lower ltype) = .Q.t abs type each values];
$[0 = count values;
(n_rows + count[col])#0b;
$[v_is_tab;
$[any ltype = (" ";"C");~';=]
$[any ltype = (" ";"C"); ~'; =]
[mlen#col;mlen#values],
(n_rows + max 0,count[col]-
mlen: min count[values],
count[col])#0b;
any $[any ltype = (" ";"C");~/:\:;=\:][values;col]
any $[any ltype = (" ";"C"); ~/:\:; =\:][values;col]
]
]}[;table;values;is_tab; n_rows]
]}[; table; values; is_tab; n_rows]
each cols table}""", tab, dic_value, is_tab, n_rows)
return ftable.set_index(kcols) if key_table else ftable

Expand Down

0 comments on commit c39909c

Please sign in to comment.