astype函数的参数
导读:astype函数的参数?astype实现变量类型转换: astype(type : returns a copy of the array converted to the specified type. a = a.astype('Fl...
astype函数的参数?
astype实现变量类型转换: astype(type): returns a copy of the array converted to the specified type. a = a.astype('Float64') b = b.astype('Int32') Python中与数据类型相关函数及属性有如下三个:type/dtype/astype。 type() 返回参数的数据类型 dtype 返回数组中元素的数据类型 astype() 对数据类型进行转换
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: astype函数的参数
本文地址: https://pptw.com/jishu/59292.html
