MAINT: s/NotImplementedError/TypeError.

This commit is contained in:
Scott Sanderson
2017-06-07 15:23:27 -04:00
parent cfe4df8f2b
commit a579485825
+1 -1
View File
@@ -437,7 +437,7 @@ class Relabel(SingleInputMixin, Classifier):
result = data.map(relabeler)
result[~mask] = data.missing_value
else:
raise TypeError(
raise NotImplementedError(
"Relabeling is not currently supported for "
"int-dtype classifiers."
)