o Float64','Cast to object'],index=['Typeclass','floating','object','integer','bool ean']) Tab Out[13]: 0 Typeclass Promo�on dtype for storing NAs floa�ng No Change object No Change integer Cast to Float64 boolean Cast to object
dex=list('abcdef')) df Out[14]: one two three four a -0.491977 -0.148958 0.302686 -0.126440 b -0.481760 0.657904 -0.105482 -1.085279 c 1.815573 -0.588777 -1.677981 -0.981797 d -0.061162 -1.439965 0.146472 -0.955991 e -1.525030 1.510161 0.002977 -1.066108 f -1.620642 -0.827015 -1.296184 0.230389
the dtype changes to python object because reindex_like silently inserts NaNs and the dtype changes accordingly. NaNs and the dtype changes accordingly.