@@ -469,7 +469,7 @@ class ChainedAssignmentError(Warning):
469
469
--------
470
470
>>> pd.options.mode.copy_on_write = True
471
471
>>> df = pd.DataFrame({'A': [1, 1, 1, 2, 2]}, columns=['A'])
472
- >>> df["A"][0:3] = 10 # doctest: +SKIP
472
+ >>> df["A"][0:3] = 10 # doctest: +SKIP
473
473
... # ChainedAssignmentError: ...
474
474
>>> pd.options.mode.copy_on_write = False
475
475
"""
@@ -561,10 +561,10 @@ class NumExprClobberingError(NameError):
561
561
Examples
562
562
--------
563
563
>>> df = pd.DataFrame({'abs': [1, 1, 1]})
564
- >>> df.query("abs > 2") # doctest: +SKIP
564
+ >>> df.query("abs > 2") # doctest: +SKIP
565
565
... # NumExprClobberingError: Variables in expression "(abs) > (2)" overlap...
566
566
>>> sin, a = 1, 2
567
- >>> pd.eval("sin + a", engine='numexpr') # doctest: +SKIP
567
+ >>> pd.eval("sin + a", engine='numexpr') # doctest: +SKIP
568
568
... # NumExprClobberingError: Variables in expression "(sin) + (a)" overlap...
569
569
"""
570
570
@@ -677,9 +677,9 @@ class ClosedFileError(Exception):
677
677
678
678
Examples
679
679
--------
680
- >>> store = pd.HDFStore('my-store', 'a') # doctest: +SKIP
681
- >>> store.close() # doctest: +SKIP
682
- >>> store.keys() # doctest: +SKIP
680
+ >>> store = pd.HDFStore('my-store', 'a') # doctest: +SKIP
681
+ >>> store.close() # doctest: +SKIP
682
+ >>> store.keys() # doctest: +SKIP
683
683
... # ClosedFileError: my-store file is not open!
684
684
"""
685
685
@@ -773,9 +773,9 @@ class CategoricalConversionWarning(Warning):
773
773
Examples
774
774
--------
775
775
>>> from pandas.io.stata import StataReader
776
- >>> with StataReader('dta_file', chunksize=2) as reader: # doctest: +SKIP
777
- ... for i, block in enumerate(reader):
778
- ... print(i, block)
776
+ >>> with StataReader('dta_file', chunksize=2) as reader: # doctest: +SKIP
777
+ ... for i, block in enumerate(reader):
778
+ ... print(i, block)
779
779
... # CategoricalConversionWarning: One or more series with value labels...
780
780
"""
781
781
0 commit comments