Skip to content

Commit

Permalink
added a smidge of code to assemble.stats to dropna(axis=1, how='all') to
Browse files Browse the repository at this point in the history
drop all columns (axis=1) where all results are NaN
  • Loading branch information
isaacovercast committed Nov 21, 2015
1 parent 2770d8c commit fae3c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipyrad/core/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def stats(self):
nameordered = self.samples.keys()
nameordered.sort()
return pd.DataFrame([self.samples[i].stats for i in nameordered],
index=nameordered)
index=nameordered).dropna( axis=1, how='all')
#dtype=[int, int, int, int, int, float, float, int])


Expand Down

0 comments on commit fae3c12

Please sign in to comment.