File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8518,7 +8518,7 @@ def ranker(data):
8518
8518
8519
8519
return ranker (data )
8520
8520
8521
- @Appender (_shared_docs ["compare" ] % _shared_doc_kwargs )
8521
+ @doc (_shared_docs ["compare" ], klass = _shared_doc_kwargs [ "klass" ] )
8522
8522
def compare (
8523
8523
self ,
8524
8524
other ,
Original file line number Diff line number Diff line change 47
47
_shared_docs [
48
48
"compare"
49
49
] = """
50
- Compare to another %( klass)s and show the differences.
50
+ Compare to another { klass} and show the differences.
51
51
52
52
.. versionadded:: 1.1.0
53
53
54
54
Parameters
55
55
----------
56
- other : %( klass)s
56
+ other : { klass}
57
57
Object to compare with.
58
58
59
- align_axis : {0 or 'index', 1 or 'columns'}, default 1
59
+ align_axis : {{ 0 or 'index', 1 or 'columns'} }, default 1
60
60
Determine which axis to align the comparison on.
61
61
62
62
* 0, or 'index' : Resulting differences are stacked vertically
You can’t perform that action at this time.
0 commit comments