首页 > 编程知识 正文

python resize,python数据类型dtype

时间:2023-05-03 08:59:53 阅读:19524 作者:1359

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。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。