API: change default behaviour of str.match from deprecated extract to match (GH5224) by jorisvandenbossche · Pull Request #15257 · pandas-dev/pandas (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this keyword needs to stay, because it was how people could specify the 'new' behaviour before (although we said we would change this in 0.14, we never did).
So all people still using match are probably specifying this keyword, AFAIU.

See the removed warning from the documentation in the diff for some context.

In principle we could make it a FutureWarning instead of UserWarning, so we can remove it later on.