发布时间:2021-04-14 16:59:46
import pandas as pdimport matplotlib.pyplot as plt#读取文件score = pd.read_csv('./student_score.csv',encoding = 'gbk')#最高分Math_Max = score.高数.max()English_Max = score.英语.max()Python_Max = score.Python.max()#最低分Math_Min = score.高数.min()English_Min.........【阅读全文】
发布时间:2021-04-13 16:00:28
'''发送邮件'''import tkinterimport smtplibfrom email.mime.text import MIMEText跟单网class SendMail: # 初始化画窗口 def __init__(self): # 创建窗口对象 windows = tkinter.Tk() # 设置标题 &n.........【阅读全文】
发布时间:2021-04-12 17:06:54
#!/usr/bin/python# -*- coding: UTF-8 -*- import matplotlib.pyplot as pltimport mathshow_animation = Trueclass Dijkstra: def __init__(self, ox, oy, resolution, robot_radius): """ &.........【阅读全文】
发布时间:2021-04-09 16:43:11
import numpy as npimport operator"""函数说明:创建数据集Returns: group -数据集 labels -分类标签"""def dataCreat(): #四组二维空间 group = np.array([[1,101],[5,89],[10.........【阅读全文】
发布时间:2021-04-08 17:19:01
# print("hello world")# a=1## print(id(a))# a=3# print(id(a))## # 十进制21转化为二进制# # 21/2=10........1# # 10/2=5........0# # 5/2=2.........1# # 2/2=1.........0# # 1/2=0.........1## #从下往上10101## #.........【阅读全文】