-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in 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 <[email protected]>
Thanks @jbrockmendel |
* DEPR: delim_whitespace kwd in read_csv * Update doc/source/whatsnew/v2.2.0.rst Co-authored-by: Matthew Roeschke <[email protected]> --------- Co-authored-by: Matthew Roeschke <[email protected]>
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.