@@ -397,13 +397,13 @@ class SpecificationError(Exception):
397397 >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2],
398398 ... 'B': range(5),
399399 ... 'C': range(5)})
400- >>> df.groupby('A').B.agg({'foo': 'count'}) # doctest: +SKIP
400+ >>> df.groupby('A').B.agg({'foo': 'count'}) # doctest: +SKIP
401401 ... # SpecificationError: nested renamer is not supported
402402
403- >>> df.groupby('A').agg({'B': {'foo': ['sum', 'max']}}) # doctest: +SKIP
403+ >>> df.groupby('A').agg({'B': {'foo': ['sum', 'max']}}) # doctest: +SKIP
404404 ... # SpecificationError: nested renamer is not supported
405405
406- >>> df.groupby('A').agg(['min', 'min']) # doctest: +SKIP
406+ >>> df.groupby('A').agg(['min', 'min']) # doctest: +SKIP
407407 ... # SpecificationError: nested renamer is not supported
408408 """
409409
@@ -447,7 +447,7 @@ class SettingWithCopyWarning(Warning):
447447 Examples
448448 --------
449449 >>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2]}, columns=['A'])
450- >>> df.loc[0:3]['A'] = 'a' # doctest: +SKIP
450+ >>> df.loc[0:3]['A'] = 'a' # doctest: +SKIP
451451 ... # SettingWithCopyWarning: A value is trying to be set on a copy of a...
452452 """
453453
@@ -578,11 +578,11 @@ class UndefinedVariableError(NameError):
578578 Examples
579579 --------
580580 >>> df = pd.DataFrame({'A': [1, 1, 1]})
581- >>> df.query("A > x") # doctest: +SKIP
581+ >>> df.query("A > x") # doctest: +SKIP
582582 ... # UndefinedVariableError: name 'x' is not defined
583- >>> df.query("A > @y") # doctest: +SKIP
583+ >>> df.query("A > @y") # doctest: +SKIP
584584 ... # UndefinedVariableError: local variable 'y' is not defined
585- >>> pd.eval('x + 1') # doctest: +SKIP
585+ >>> pd.eval('x + 1') # doctest: +SKIP
586586 ... # UndefinedVariableError: name 'x' is not defined
587587 """
588588
0 commit comments