python预处理练习数据
import pandas as pdimport numpy as npfrom matplotlib import pyplot as plt# 读取数据excel1= pd.DataFrame(pd.read_excel('第5章 练习数据.xls',sheet_name='Sheet1'))#一,班级中以学号的班级填充excel1_number=excel1["学号"]for int1 in excel1_number: int2=int1//100%10; if(.
原创
2022-05-04 14:01:58 ·
1492 阅读 ·
1 评论