DOC: Added constructor parameters to DateOffset docstring for API consistency #52431
 - Added the constructor signature for DateOffset.
 - No functional changes were made, only documentation improvements.
 - Part of the issue #52431 is addressed by this.
I'm a bit confused here, as the description of the PR doesn't match the changes. I'll be closing this, as the change here doesn't seem very useful. The issue you refer to is about documenting the parameters of the constructors of the mentioned classes, not adding an example of constructing the class. Also, the examples should go into their section and format.