I know that df.info() (and other functions) give me the dtype of each column. However, pandas store a lot of things (e.g. String) as object, and I also see that some columns having NAN/True/False shown as object except as boolean.
How do I get the real data type of each column instead of a large bunch of objects?
BTW, this question is close to what I ask, but none of the answers helps: