From a5794858252d91c8f846159b5716e776d6f6cbc0 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 7 Jun 2017 15:23:27 -0400 Subject: [PATCH] MAINT: s/NotImplementedError/TypeError. --- zipline/pipeline/classifiers/classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/pipeline/classifiers/classifier.py b/zipline/pipeline/classifiers/classifier.py index f3c2e22c..de5da2f0 100644 --- a/zipline/pipeline/classifiers/classifier.py +++ b/zipline/pipeline/classifiers/classifier.py @@ -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." )