Commit 06695878 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Wrong return values from binariseCategorical/expandCompound (although

they were still working)
parent 76b54e2a
......@@ -259,7 +259,7 @@ def binariseCategorical(dtable,
name=nameFormat.format(**fmtargs)))
if replace: return toremove, newseries, newvids
else: return [], newseries, newvids
else: return newseries, newvids
@custom.processor()
......@@ -308,4 +308,4 @@ def expandCompound(dtable, vids, nameFormat=None, replace=True):
name=name))
if replace: return columns, newseries, newvids
else: return [], newseries, newvids
else: return newseries, newvids
......@@ -194,7 +194,7 @@ def redundantColumns(data, columns, corrthres, nathres=None):
namask = np.asarray(pd.isna(data[columns]), dtype=np.float16)
# normalise ecah column of the namask
# normalise each column of the namask
# array to unit standard deviation, but
# only for those columns which have a
# stddev greater than 0 (those that
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment