Skip to content

Commit

Permalink
raw parameter set as default
Browse files Browse the repository at this point in the history
casts argument un for_each_col as pandas series
  • Loading branch information
PyMap committed Oct 11, 2020
1 parent 7751997 commit 0876a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthpop/ipu/ipu.py
Expand Up @@ -25,7 +25,7 @@ def for_each_col(col):
nz = col.to_numpy().nonzero()[0]
return col.iloc[nz], nz

for (col_idx, (col, nz)) in df.apply(for_each_col, axis=0, raw=True).items():
for (col_idx, (col, nz)) in df.apply(for_each_col, axis=0, raw=False).items():
yield (col_idx, col, nz)


Expand Down

0 comments on commit 0876a1d

Please sign in to comment.