摘要: 简单移动平均,利用Numpy、Pandas import random data = [random.uniform(0, 10) for i in range(100)] # 生成100个 10以内的浮点数 import pandas as pd import numpy as np df = p 阅读全文
posted @ 2023-02-21 22:38 烦恼1234 阅读(22) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd data = pd.read_excel('C:/Users/ivan/Desktop/工作簿4.xlsx',engine='openpyxl') data['岳阳库存'].fillna(0,inplace=True) # 缺失值填充为0 # 1.将keys 阅读全文
posted @ 2023-01-10 00:32 烦恼1234 阅读(30) 评论(0) 推荐(0) 编辑
摘要: # xtw 库存调整 import time import numpy as np import requests import pandas as pd import arrow def time_to_utc(localtime): utctime =arrow.get(localtime).t 阅读全文
posted @ 2023-01-06 10:25 烦恼1234 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # xtw 库存调整 # 这一段没有比对 原库位sp库存一致 没有做排除 import time import numpy as np import arrow import requests import pandas as pd from openpyxl import Workbook imp 阅读全文
posted @ 2023-01-06 10:24 烦恼1234 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # # xtw库存调整 # # 主要改进在于:尽可能将效期 录入到目标库位上。 # ''' # 无效期的 优先使用无效期批次的库存记录 (xjf-100-100 or 默认库位) # 有效期: # 优先使用带有修改批次的库存记录 # 次优先使用无效期批次的库存记录 # ''' # sheet ='d 阅读全文
posted @ 2023-01-06 10:23 烦恼1234 阅读(25) 评论(0) 推荐(0) 编辑
摘要: # xtw库存调整 # 主要改进在于:尽可能将效期 录入到目标库位上。 ''' 无效期的 优先使用无效期批次的库存记录 (xjf-100-100 or 默认库位) 有效期: 优先使用带有修改批次的库存记录 次优先使用无效期批次的库存记录 ''' sheet ='data' import numpy 阅读全文
posted @ 2023-01-04 10:41 烦恼1234 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44688529/article/details/127652649 阅读全文
posted @ 2022-12-15 19:01 烦恼1234 阅读(5) 评论(0) 推荐(0) 编辑
摘要: import time from dingtalkchatbot.chatbot import DingtalkChatbot import requests webhook ='https://oapi.dingtalk.com/robot/send?access_token=ca18f6c6fe 阅读全文
posted @ 2022-12-15 12:30 烦恼1234 阅读(10) 评论(0) 推荐(0) 编辑
摘要: # xtw 库存调整 # 这一段没有比对 原库位sp库存一致 没有做排除 import time import requests import pandas as pd from openpyxl import Workbook wb = Workbook() ws = wb.active # ti 阅读全文
posted @ 2022-12-14 12:31 烦恼1234 阅读(27) 评论(0) 推荐(0) 编辑
摘要: import requests as req from openpyxl import Workbook import re session_wms = req.Session() login_url = "https://apollo-api.xtw-tech.com/v1/auth/token" 阅读全文
posted @ 2022-12-03 18:34 烦恼1234 阅读(28) 评论(0) 推荐(0) 编辑