ix to loc
This commit is contained in:
@@ -1189,7 +1189,7 @@ class FusionMetricChoiceForm(ModelForm):
|
||||
labeldict = {key:value for key,value in self.fields['columns'].choices}
|
||||
|
||||
for label in labeldict:
|
||||
if df.ix[:,label].std() == 0:
|
||||
if df.loc[:,label].std() == 0:
|
||||
try:
|
||||
formaxlabels2.pop(label)
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user