diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 030ae9fefda98..4d45ff208ae12 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -275,8 +275,8 @@ mangle_dupe_cols : bool, default True Duplicate columns will be specified as 'X', 'X.1', ...'X.N', rather than - 'X'...'X'. Passing in False will cause data to be overwritten if there - are duplicate names in the columns. + 'X'...'X'. Passing in False will in the future cause data to be overwritten + if there are duplicate names in the columns, but is currently not permitted. {storage_options} .. versionadded:: 1.2.0 diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index f853251d599d2..6a086bc251efe 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -159,8 +159,8 @@ Use a list comprehension on the DataFrame's columns after calling ``read_csv``. mangle_dupe_cols : bool, default True Duplicate columns will be specified as 'X', 'X.1', ...'X.N', rather than - 'X'...'X'. Passing in False will cause data to be overwritten if there - are duplicate names in the columns. + 'X'...'X'. Passing in False will in the future cause data to be overwritten + if there are duplicate names in the columns, but is currently not permitted. dtype : Type name or dict of column -> type, optional Data type for data or columns. E.g. {{'a': np.float64, 'b': np.int32, 'c': 'Int64'}}