Skip to content

Commit 65d444d

Browse files
committed
DOC: What's New for v2.0.0: keep_whitespace and whitespace_chars arguments
for `read_fwf`. (pandas-dev#51569) Signed-off-by: Ronald Barnes <[email protected]>
1 parent 0006637 commit 65d444d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/whatsnew/v2.0.0.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ Other enhancements
312312
- Added new argument ``dtype`` to :func:`read_sql` to be consistent with :func:`read_sql_query` (:issue:`50797`)
313313
- Added new argument ``engine`` to :func:`read_json` to support parsing JSON with pyarrow by specifying ``engine="pyarrow"`` (:issue:`48893`)
314314
- Added support for SQLAlchemy 2.0 (:issue:`40686`)
315+
- Added new arguments ``keep_whitespace`` and ``whitespace_chars`` to :func:`read_fwf` giving more control and more intuitive control over whitespace handling (:issue:`51569`)
315316
-
316317

317318
.. ---------------------------------------------------------------------------
@@ -829,8 +830,8 @@ Deprecations
829830
- Deprecated :meth:`Series.backfill` in favor of :meth:`Series.bfill` (:issue:`33396`)
830831
- Deprecated :meth:`DataFrame.pad` in favor of :meth:`DataFrame.ffill` (:issue:`33396`)
831832
- Deprecated :meth:`DataFrame.backfill` in favor of :meth:`DataFrame.bfill` (:issue:`33396`)
833+
- Deprecated using ``delimiter`` option to ``read_fwf`` to preserve whitespace in favour of ``keep_whitespace`` and ``whitespace_chars`` (:issue:`51569`)
832834
-
833-
834835
.. ---------------------------------------------------------------------------
835836
.. _whatsnew_200.prior_deprecations:
836837

0 commit comments

Comments
 (0)