Skip to content

Commit

Permalink
fix linting errors in meta
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosvm13 authored Jan 22, 2024
1 parent c39909c commit 3d55cc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pykx/pandas_api/pandas_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,16 @@ def isin(self, values):
key_table = 'KeyedTable' in str(type(tab))
key_value = 'KeyedTable' in str(type(values))
n_rows = 0
false_dataframe_f = q("""{u:(cols x);
v:(count[u],count[x])#0b;
false_dataframe_f = q("""{u:(cols x);
v:(count[u],count[x])#0b;
flip u!v}""")
if key_value and not key_table:
return false_dataframe_f(tab)
if key_table:
kcols = q.key(tab)
if key_value:
n_rows, tab = q("""{n_rows:max 0, count[x]-
count rows:(key y) inter key x;
count rows:(key y) inter key x;
(n_rows;
x each rows)}""", tab, values)
values = q.value(values)
Expand Down

0 comments on commit 3d55cc4

Please sign in to comment.