@@ -228,6 +228,7 @@ class IntervalIndex(ExtensionIndex):
228228 See further examples in the doc strings of ``interval_range`` and the
229229 mentioned constructor methods.
230230 """
231+
231232 _typ = "intervalindex"
232233
233234 # annotate properties pinned via inherit_names
@@ -872,14 +873,14 @@ def get_indexer_non_unique(
872873
873874 Examples
874875 --------
875- >>> index = pd.Index(['c', 'b', 'a', 'b', 'b' ])
876- >>> index.get_indexer_non_unique(['b', 'b' ])
876+ >>> index = pd.Index(["c", "b", "a", "b", "b" ])
877+ >>> index.get_indexer_non_unique(["b", "b" ])
877878 (array([1, 3, 4, 1, 3, 4]), array([], dtype=int64))
878879
879880 In the example below there are no matched values.
880881
881- >>> index = pd.Index(['c', 'b', 'a', 'b', 'b' ])
882- >>> index.get_indexer_non_unique(['q', 'r', 't' ])
882+ >>> index = pd.Index(["c", "b", "a", "b", "b" ])
883+ >>> index.get_indexer_non_unique(["q", "r", "t" ])
883884 (array([-1, -1, -1]), array([0, 1, 2]))
884885
885886 For this reason, the returned ``indexer`` contains only integers equal to -1.
@@ -891,8 +892,8 @@ def get_indexer_non_unique(
891892 below the first item is an array of locations in ``index``. The second
892893 item is a mask shows that the first and third elements are missing.
893894
894- >>> index = pd.Index(['c', 'b', 'a', 'b', 'b' ])
895- >>> index.get_indexer_non_unique(['f', 'b', 's' ])
895+ >>> index = pd.Index(["c", "b", "a", "b", "b" ])
896+ >>> index.get_indexer_non_unique(["f", "b", "s" ])
896897 (array([-1, 1, 3, 4, -1]), array([0, 2]))
897898 """
898899 target = ensure_index (target )
0 commit comments