<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[schinn的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/schinn</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; schinn]]></copyright><item><title><![CDATA[python pandas如何转换‘object’成其他数据类型]]></title><link>https://blog.youkuaiyun.com/schinn/article/details/107659484</link><guid>https://blog.youkuaiyun.com/schinn/article/details/107659484</guid><author>schinn</author><pubDate>Wed, 29 Jul 2020 11:25:58 +0800</pubDate><description><![CDATA[python pandas如何转换‘object’成其他数据类型transfer the type of pvt_mean_rt
transfer the type of pvt_mean_rt
老版本表达（失效）
df = df.convert_objects(convert_numeric=True)
新的语法表达
df[‘pvt_mean_rt’] = df[‘pvt_mean_rt’].apply(pd.to_numeric, errors=‘coerce’)

...]]></description><category></category></item></channel></rss>