@@ -383,7 +383,8 @@ def _from_factorized(
383
383
Left and right bounds for each interval.
384
384
closed : {'left', 'right', 'both', 'neither'}, default 'right'
385
385
Whether the intervals are closed on the left-side, right-side, both
386
- or neither.
386
+ or neither.\
387
+ %(name)s
387
388
copy : bool, default False
388
389
Copy the data.
389
390
dtype : dtype or None, default None
@@ -408,6 +409,7 @@ def _from_factorized(
408
409
_interval_shared_docs ["from_breaks" ]
409
410
% {
410
411
"klass" : "IntervalArray" ,
412
+ "name" : "" ,
411
413
"examples" : textwrap .dedent (
412
414
"""\
413
415
Examples
@@ -443,7 +445,8 @@ def from_breaks(
443
445
Right bounds for each interval.
444
446
closed : {'left', 'right', 'both', 'neither'}, default 'right'
445
447
Whether the intervals are closed on the left-side, right-side, both
446
- or neither.
448
+ or neither.\
449
+ %(name)s
447
450
copy : bool, default False
448
451
Copy the data.
449
452
dtype : dtype, optional
@@ -485,6 +488,7 @@ def from_breaks(
485
488
_interval_shared_docs ["from_arrays" ]
486
489
% {
487
490
"klass" : "IntervalArray" ,
491
+ "name" : "" ,
488
492
"examples" : textwrap .dedent (
489
493
"""\
490
494
>>> pd.arrays.IntervalArray.from_arrays([0, 1, 2], [1, 2, 3])
@@ -520,7 +524,8 @@ def from_arrays(
520
524
Array of tuples.
521
525
closed : {'left', 'right', 'both', 'neither'}, default 'right'
522
526
Whether the intervals are closed on the left-side, right-side, both
523
- or neither.
527
+ or neither.\
528
+ %(name)s
524
529
copy : bool, default False
525
530
By-default copy the data, this is compat only and ignored.
526
531
dtype : dtype or None, default None
@@ -547,6 +552,7 @@ def from_arrays(
547
552
_interval_shared_docs ["from_tuples" ]
548
553
% {
549
554
"klass" : "IntervalArray" ,
555
+ "name" : "" ,
550
556
"examples" : textwrap .dedent (
551
557
"""\
552
558
Examples
0 commit comments