ihaveadataframeinpandasandi ' mtryingtofigureoutwhatthetypesofitsvaluesare.iamunsurewhatthetypeisofcolumn ' test '.however
dype(o ) ) )。
What does this mean?
it维护:
“O' (Python )对象
thefirstcharacterspecifiesthekindofdataandtheremainingcharactersspecifythenumberofbytesperitem,except for Unicode, wereitisinterpretedasthenumberofcharacters.theitemsizemustcorrespondtoanexistingtype,oranerrorwillberaised.the suported
to an existing type,oranerrorwillberaised.thesupportedkindsare :
布布尔
“I”(签名) integer
' u' unsigned integer
' f '浮动点
' c' complex-floating point
“O' (Python )对象
' s ',' a ' (字节- )字符串
' U' Unicode
(' v '原始数据(void ) )。
anotheranswerhelpsifneedchecktypes。