Commit e0e3243d authored by Marcel Henrik Schubert's avatar Marcel Henrik Schubert
Browse files

fixed collections.Counter error

parent c421b6d2
......@@ -873,7 +873,7 @@ def plotter(subsets, subana, phases, labels):
mask = (df == 0.0).T
ls = []
for col in mask.columns:
if Counter(mask[col])[True] < 1:
if collections.Counter(mask[col])[True] < 1:
ls.append(col)
df.drop(ls, inplace = True)
f,ax = plt.subplots(figsize=(18, len(ind)/6))
......@@ -939,7 +939,7 @@ def plotter(subsets, subana, phases, labels):
mask = (df == 0.0).T
ls = []
for col in mask.columns:
if Counter(mask[col])[True] < 1:
if collections.Counter(mask[col])[True] < 1:
ls.append(col)
df.drop(ls, inplace = True)
......@@ -994,7 +994,7 @@ def plotter(subsets, subana, phases, labels):
mask = (df == 0.0).T
ls = []
for col in mask.columns:
if Counter(mask[col])[True] < 1:
if collections.Counter(mask[col])[True] < 1:
ls.append(col)
df.drop(ls, inplace = True)
......
Markdown is supported
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