-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DEPR: delim_whitespace kwd in read_csv #56557
Conversation
FutureWarning, match=depr_msg, check_stacklevel=False | ||
): | ||
parser.read_csv( | ||
StringIO(data), delim_whitespace=True, usecols=("a", "b") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can most of these be replaced with sep=r"\s+"
instead already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think that will introduce a bunch of duplicate tests, this way we can remove these entirely once the deprecation is enforced
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
Thanks @jbrockmendel |
* DEPR: delim_whitespace kwd in read_csv * Update doc/source/whatsnew/v2.2.0.rst Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --------- Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
Toward pandas 2.2 compat: Deprecated in pandas in pandas-dev/pandas#56557 Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Ashwin Srinath (https://github.com/shwina) URL: #14986
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.