Backport PR #30929: ENH: Implement convert_dtypes'
cc @Dr-Irv can you check if the diff looks ok? > cc @Dr-Irv can you check if the diff looks ok?

@jorisvandenbossche Looks good.  I compared what was in the original PR #30929 and this one, and they look the same.