python - pandas的series能否给小数设置精度
巴扎黑
巴扎黑 2017-04-18 09:50:20
0
1
889

在多个文件中,使用grouped.sum()做同index加和之后,会出现多位小数点的情况,这样的情况怎么处理,不能用float(SERIES)强制格式化这个series

巴扎黑
巴扎黑

reply all(1)
左手右手慢动作

This shows that the data format in Series is originally float
or use astypefunction to convert the type

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!