Bug in DataFrame.drop_duplicates for empty DataFrame throws error
- [x] closes #20516
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry