Skip to content

Commit

Permalink
Reorders cols calculation at preparse_computations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús López-González committed Jan 17, 2024
1 parent d28e93a commit eae9bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pykx/pandas_api/pandas_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def _get_bool_only_subtable(tab):


def preparse_computations(tab, axis=0, skipna=True, numeric_only=False, bool_only=False):
cols = q('cols', tab)
if 'Keyed' in str(type(tab)):
tab = q('{(keys x) _ 0!x}', tab)
cols = q('cols', tab)
if numeric_only:
(tab, cols) = _get_numeric_only_subtable_with_bools(tab)
if bool_only:
Expand Down

0 comments on commit eae9bfd

Please sign in to comment.