assert_frame_equal for set
- [x] closes #51727 
- [x] [Tests added and passed]
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Ping when ready and I'll merge it. @topper-123 done  Thanks, @jayendra-patil33 .