摘要: import pandas as pdimport os# 修改工作路径到指定文件夹os.chdir("D:/chapter11/demo")# 第一种连接方式from sqlalchemy import create_engine engine = create_engine('mysql+pym 阅读全文
posted @ 2023-04-02 21:31 散状 阅读(233) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Mon Mar 20 15:12:41 2023 @author: admin""" import pandas as pdimport matplotlib.pyplot as plt inputfile ='C:\\Use 阅读全文
posted @ 2023-03-26 19:30 散状 阅读(101) 评论(0) 推荐(0)
摘要: import numpy as np import pandas as pd inputfile="C:\\Users\\ASUS\\Documents\\WeChat Files\\wxid_ivbyuelp335q22\\FileStorage\\File\\2023-03\\GoodsOrde 阅读全文
posted @ 2023-03-19 19:19 散状 阅读(86) 评论(0) 推荐(0)
摘要: import pandas as pddatafile="C:\\Users\\ASUS\\Documents\\WeChat Files\\wxid_ivbyuelp335q22\\FileStorage\\File\\2023-03\\air_data.csv"resultfile="C:\\U 阅读全文
posted @ 2023-03-12 21:02 散状 阅读(84) 评论(0) 推荐(0)
摘要: import syssys.path.append('../code') # 设置路径import numpy as npimport pandas as pdfrom GM11 import GM11# 引入自编的灰色预测函数import matplotlib.pyplot as plt inpu 阅读全文
posted @ 2023-03-05 20:30 散状 阅读(105) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*-"""Created on Wed Feb 22 10:56:39 2023 @author: admin""" import pandas as pdcatering_sale ='C:\\Users\\ASUS\\Documents\\WeChat 阅读全文
posted @ 2023-02-26 17:13 散状 阅读(74) 评论(0) 推荐(0)
摘要: mnist = tf.keras.datasets.mnist(x_train, y_train), (x_test, y_test) = mnist.load_data()x_train, x_test = x_train / 255.0, x_test / 255.0 model = tf.ke 阅读全文
posted @ 2022-04-24 22:38 散状 阅读(57) 评论(0) 推荐(0)
摘要: import numpyimport scipy.specialimport scipy.miscimport matplotlib.pyplotimport scipy.ndimage class NeuralNetwork(): def __init__(self,inputnodes,hidd 阅读全文
posted @ 2022-03-19 21:35 散状 阅读(69) 评论(0) 推荐(0)
摘要: from tkinter import *from tkinter.messagebox import *from Database import Databaseclass StudentUI: def __init__(self): self.user = None self.password 阅读全文
posted @ 2021-12-11 22:35 散状 阅读(102) 评论(0) 推荐(0)
摘要: import jiebaimport wordcloudimport pandas as pdimport matplotlib as plt fname = input()f = open(fname, 'r')text = f.read()f.close() cut_text = jieba.l 阅读全文
posted @ 2021-11-13 22:33 散状 阅读(131) 评论(0) 推荐(0)