From 4e72344417b1543be137b5f10e6a9bd603232abf Mon Sep 17 00:00:00 2001 From: Erfan Nariman Date: Mon, 29 Jun 2020 23:12:52 +0200 Subject: [PATCH] Alligned docstring for ignore_index in append --- pandas/core/frame.py | 2 +- pandas/core/series.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 521d16ac0b905..d79f87abb46be 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -7539,7 +7539,7 @@ def append( other : DataFrame or Series/dict-like object, or list of these The data to append. ignore_index : bool, default False - If True, do not use the index labels. + If True, the resulting axis will be labeled 0, 1, …, n - 1. verify_integrity : bool, default False If True, raise ValueError on creating index with duplicates. sort : bool, default False diff --git a/pandas/core/series.py b/pandas/core/series.py index a652af5efc590..95c558172b7b7 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2609,7 +2609,7 @@ def append(self, to_append, ignore_index=False, verify_integrity=False): to_append : Series or list/tuple of Series Series to append with self. ignore_index : bool, default False - If True, do not use the index labels. + If True, the resulting axis will be labeled 0, 1, …, n - 1. verify_integrity : bool, default False If True, raise Exception on creating index with duplicates.