DEPR: Deprecate tupleize_cols in read_csv by gfyoung · Pull Request #17820 · pandas-dev/pandas (original) (raw)

You mean 'non-default' arguments?

Oops, yes 😄

Why do we do that deliberately?
Nothing prevents a user to specify a default value, and eg to write pd.read_csv(..., tupleize_cols=False).

That's possible. My concern is that's going to be confusing to a user if they see tupleize_cols=None in the docs. This deprecation methodology that I'm using is implemented throughout the codebase.

That being said, you do bring up an interesting point. While I haven't seen that problem arise with any of our other deprecations, I don't see why we shouldn't discuss it.