BUG: bug in df.info() when embedded categorical (related GH7619)

xref #7619