Skip to content

Commit c7bc342

Browse files
authored
Alligned docstring for ignore_index in append (#35056)
1 parent b1b70c7 commit c7bc342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7551,7 +7551,7 @@ def append(
75517551
other : DataFrame or Series/dict-like object, or list of these
75527552
The data to append.
75537553
ignore_index : bool, default False
7554-
If True, do not use the index labels.
7554+
If True, the resulting axis will be labeled 0, 1, …, n - 1.
75557555
verify_integrity : bool, default False
75567556
If True, raise ValueError on creating index with duplicates.
75577557
sort : bool, default False

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ def append(self, to_append, ignore_index=False, verify_integrity=False):
26092609
to_append : Series or list/tuple of Series
26102610
Series to append with self.
26112611
ignore_index : bool, default False
2612-
If True, do not use the index labels.
2612+
If True, the resulting axis will be labeled 0, 1, …, n - 1.
26132613
verify_integrity : bool, default False
26142614
If True, raise Exception on creating index with duplicates.
26152615

0 commit comments

Comments
 (0)