Fix annotations of str methods that accept regular expressions#1278
Fix annotations of str methods that accept regular expressions#1278Dr-Irv merged 1 commit intopandas-dev:mainfrom
Conversation
|
Thank you for your well-tested PR!
It is not clear to me if the documentation suggests that Feel free to open an issue/PR at pandas about it. |
I think the PR discussion in pandas-dev/pandas#61879 will lead to the docs getting corrected. So I'll accept this PR as is. |
assert_type()to assert the type of any return valueThese methods accept compiled regular expressions as documented in pandas and tested at runtime.