摘要: dataframe:二维数据 ,整个表格,多行多列 series:一维数据,一行或一列 s.loc[:,"列名"] = s["列名"].str.replace("'°C","").astype('int32') # 去掉°c 以excel成绩为例: import pandas as pd impor 阅读全文
posted @ 2022-12-20 07:30 scholar-for-ever 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 查看环境 conda env list 创建python name环境,python版本为3.9: conda create -n name python=3.9 激活: conda activate name 去掉激活: conda deactivate name 进入pandas目录: cd D 阅读全文
posted @ 2022-12-20 00:53 scholar-for-ever 阅读(187) 评论(0) 推荐(0) 编辑