ENH: Added features of issue 61691
- [x] closes #61691 
- [ ] [Tests added]
- [ ] All [code checks passed]

@ishaan1234 generally its best to wait to implement a requested feature until there is a consensus in the issue that it is something we want to do.  Requests for new top-level APIs usually get politely rejected. Thanks @ishaan1234 but as mentioned, this feature needs discussion before a pull request will be considered so closing this PR for now > @ishaan1234 generally its best to wait to implement a requested feature until there is a consensus in the issue that it is something we want to do. Requests for new top-level APIs usually get politely rejected.

Alright! Thanks! > Thanks @ishaan1234 but as mentioned, this feature needs discussion before a pull request will be considered so closing this PR for now

Okay