python dataframe astype 字段类型转换方法 使用astype实现dataframe字段类型转换#-*-coding:UTF-8-*-importpandasaspddf=pd.DataFrame([{'col1':'a','col2':'1'} 字段类型转换