From 868e9a04eecf6847428c539918a4ebdf00abc4a4 Mon Sep 17 00:00:00 2001 From: Floris Kint Date: Tue, 1 Aug 2017 00:04:16 -0700 Subject: [PATCH] Add missing space to the NotImplementedError's message for compound dtypes --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fbd26655798bd..ec44dce0da9bc 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -152,7 +152,7 @@ def _validate_dtype(self, dtype): # a compound dtype if dtype.kind == 'V': raise NotImplementedError("compound dtypes are not implemented" - "in the {0} constructor" + " in the {0} constructor" .format(self.__class__.__name__)) return dtype