TYP: Signature of "rename" incompatible with supertype "NDFrame"
- [x] closes #40977
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry

---

@WillAyd this should still be backwards compatible, it just makes the signature compatible with its parent's
can we remove rewrite_axis_style_signature from DataFrame.rename? > can we remove rewrite_axis_style_signature from DataFrame.rename?

I haven't yet made sense fo what `rewrite_axis_style_signature` does, but I"ll look into it This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. still working? Yup, ready for review needs rebase thanks @MarcoGorelli i realize now why this is convoluted, will be glad to remove this in 2.0