Compare commits
No commits in common. "c4d27410af5bf9950cc4d60f6f62e75359fd3702" and "f778bce5663332c6d0a62bb052a70fc40035d4f7" have entirely different histories.
c4d27410af
...
f778bce566
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 12,
|
"execution_count": 1,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -967,7 +967,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 13,
|
"execution_count": 2,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -1000,7 +1000,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 14,
|
"execution_count": 3,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -1050,23 +1050,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 15,
|
"execution_count": 7,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"20250304\n"
|
"20250201\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1074,21 +1074,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3543.2385 <class 'float'>\n",
|
"前一天的 3587.7887 <class 'float'>\n",
|
||||||
"现在的 3414.5246 <class 'float'>\n",
|
"现在的 3619.0713 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 -571.14\n",
|
"昨日计划提货偏差改之前 162.28\n",
|
||||||
"昨日计划提货偏差改之后 339.1062000000002\n",
|
"昨日计划提货偏差改之后 520.4207999999999\n",
|
||||||
"**************************************************预测结果: 3585.63\n",
|
"**************************************************预测结果: 3651.07\n",
|
||||||
"20250305\n"
|
"20250202\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1096,21 +1096,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3414.5246 <class 'float'>\n",
|
"前一天的 3619.0713 <class 'float'>\n",
|
||||||
"现在的 3409.5135 <class 'float'>\n",
|
"现在的 3624.724 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 3173.74\n",
|
"昨日计划提货偏差改之前 162.28\n",
|
||||||
"昨日计划提货偏差改之后 436.6761999999999\n",
|
"昨日计划提货偏差改之后 -75.01419999999962\n",
|
||||||
"**************************************************预测结果: 3781.57\n",
|
"**************************************************预测结果: 3650.16\n",
|
||||||
"20250306\n"
|
"20250203\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1118,21 +1118,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3409.5135 <class 'float'>\n",
|
"前一天的 3624.724 <class 'float'>\n",
|
||||||
"现在的 3304.2291 <class 'float'>\n",
|
"现在的 3698.7029 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 2324.63\n",
|
"昨日计划提货偏差改之前 162.28\n",
|
||||||
"昨日计划提货偏差改之后 608.3411999999998\n",
|
"昨日计划提货偏差改之后 -68.52419999999984\n",
|
||||||
"**************************************************预测结果: 3760.78\n",
|
"**************************************************预测结果: 3650.17\n",
|
||||||
"20250307\n"
|
"20250204\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1140,21 +1140,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3304.2291 <class 'float'>\n",
|
"前一天的 3698.7029 <class 'float'>\n",
|
||||||
"现在的 3312.3543 <class 'float'>\n",
|
"现在的 3671.4625 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 3426.43\n",
|
"昨日计划提货偏差改之前 162.28\n",
|
||||||
"昨日计划提货偏差改之后 232.5551999999998\n",
|
"昨日计划提货偏差改之后 -117.01919999999973\n",
|
||||||
"**************************************************预测结果: 3781.31\n",
|
"**************************************************预测结果: 3650.11\n",
|
||||||
"20250308\n"
|
"20250205\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1162,21 +1162,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3312.3543 <class 'float'>\n",
|
"前一天的 3671.4625 <class 'float'>\n",
|
||||||
"现在的 3375.9949 <class 'float'>\n",
|
"现在的 3622.508 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 2314.8\n",
|
"昨日计划提货偏差改之前 -817.76\n",
|
||||||
"昨日计划提货偏差改之后 95.26919999999973\n",
|
"昨日计划提货偏差改之后 -81.05919999999969\n",
|
||||||
"**************************************************预测结果: 3781.04\n",
|
"**************************************************预测结果: 3650.15\n",
|
||||||
"20250309\n"
|
"20250206\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1184,21 +1184,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3375.9949 <class 'float'>\n",
|
"前一天的 3622.508 <class 'float'>\n",
|
||||||
"现在的 3367.7575 <class 'float'>\n",
|
"现在的 3513.5033 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 4676.24\n",
|
"昨日计划提货偏差改之前 578.78\n",
|
||||||
"昨日计划提货偏差改之后 -324.57479999999987\n",
|
"昨日计划提货偏差改之后 -33.19920000000002\n",
|
||||||
"**************************************************预测结果: 3780.47\n",
|
"**************************************************预测结果: 3678.42\n",
|
||||||
"20250310\n"
|
"20250207\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1206,21 +1206,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3367.7575 <class 'float'>\n",
|
"前一天的 3513.5033 <class 'float'>\n",
|
||||||
"现在的 3347.97 <class 'float'>\n",
|
"现在的 3631.0462 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 -1038.55\n",
|
"昨日计划提货偏差改之前 1303\n",
|
||||||
"昨日计划提货偏差改之后 -176.92599999999993\n",
|
"昨日计划提货偏差改之后 -53.10919999999987\n",
|
||||||
"**************************************************预测结果: 3780.72\n",
|
"**************************************************预测结果: 3773.7\n",
|
||||||
"20250311\n"
|
"20250208\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1228,21 +1228,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3347.97 <class 'float'>\n",
|
"前一天的 3631.0462 <class 'float'>\n",
|
||||||
"现在的 3282.8269 <class 'float'>\n",
|
"现在的 3664.8865 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 2467.05\n",
|
"昨日计划提货偏差改之前 215.92\n",
|
||||||
"昨日计划提货偏差改之后 348.5867999999996\n",
|
"昨日计划提货偏差改之后 -71.42919999999958\n",
|
||||||
"**************************************************预测结果: 3701.49\n",
|
"**************************************************预测结果: 3750.17\n",
|
||||||
"20250312\n"
|
"20250209\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1250,21 +1250,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3282.8269 <class 'float'>\n",
|
"前一天的 3664.8865 <class 'float'>\n",
|
||||||
"现在的 3362.2709 <class 'float'>\n",
|
"现在的 3680.6229 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 -198.73\n",
|
"昨日计划提货偏差改之前 -337.98\n",
|
||||||
"昨日计划提货偏差改之后 338.9767999999999\n",
|
"昨日计划提货偏差改之后 -116.51919999999973\n",
|
||||||
"**************************************************预测结果: 3621.48\n",
|
"**************************************************预测结果: 3750.11\n",
|
||||||
"20250313\n"
|
"20250210\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1272,21 +1272,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3362.2709 <class 'float'>\n",
|
"前一天的 3680.6229 <class 'float'>\n",
|
||||||
"现在的 3476.9658 <class 'float'>\n",
|
"现在的 3719.1501 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 2356.71\n",
|
"昨日计划提货偏差改之前 1105.3\n",
|
||||||
"昨日计划提货偏差改之后 703.9968000000003\n",
|
"昨日计划提货偏差改之后 -118.21919999999955\n",
|
||||||
"**************************************************预测结果: 3644.94\n",
|
"**************************************************预测结果: 3750.11\n",
|
||||||
"20250314\n"
|
"20250211\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1294,21 +1294,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3476.9658 <class 'float'>\n",
|
"前一天的 3719.1501 <class 'float'>\n",
|
||||||
"现在的 3426.2475 <class 'float'>\n",
|
"现在的 3806.0186 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 2295.03\n",
|
"昨日计划提货偏差改之前 776.6\n",
|
||||||
"昨日计划提货偏差改之后 299.41520000000037\n",
|
"昨日计划提货偏差改之后 -111.46919999999955\n",
|
||||||
"**************************************************预测结果: 3621.29\n",
|
"**************************************************预测结果: 3750.12\n",
|
||||||
"20250315\n"
|
"20250212\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1316,21 +1316,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3426.2475 <class 'float'>\n",
|
"前一天的 3806.0186 <class 'float'>\n",
|
||||||
"现在的 3471.3062 <class 'float'>\n",
|
"现在的 3870.8876 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 3608.02\n",
|
"昨日计划提货偏差改之前 -543.94\n",
|
||||||
"昨日计划提货偏差改之后 326.89519999999993\n",
|
"昨日计划提货偏差改之后 -77.78920000000016\n",
|
||||||
"**************************************************预测结果: 3651.37\n",
|
"**************************************************预测结果: 3800.16\n",
|
||||||
"20250316\n"
|
"20250213\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1338,21 +1338,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3471.3062 <class 'float'>\n",
|
"前一天的 3870.8876 <class 'float'>\n",
|
||||||
"现在的 3484.929 <class 'float'>\n",
|
"现在的 3669.5691 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 3044.14\n",
|
"昨日计划提货偏差改之前 319.6\n",
|
||||||
"昨日计划提货偏差改之后 309.15520000000015\n",
|
"昨日计划提货偏差改之后 9.210799999999836\n",
|
||||||
"**************************************************预测结果: 3651.31\n",
|
"**************************************************预测结果: 3760.01\n",
|
||||||
"20250317\n"
|
"20250214\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1360,21 +1360,21 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3484.929 <class 'float'>\n",
|
"前一天的 3669.5691 <class 'float'>\n",
|
||||||
"现在的 3553.0486 <class 'float'>\n",
|
"现在的 3727.5257 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 653.09\n",
|
"昨日计划提货偏差改之前 811.66\n",
|
||||||
"昨日计划提货偏差改之后 304.6226999999999\n",
|
"昨日计划提货偏差改之后 14.500800000000709\n",
|
||||||
"**************************************************预测结果: 3651.3\n",
|
"**************************************************预测结果: 3750.28\n",
|
||||||
"20250318\n"
|
"20250215\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_10124\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
" df = df.fillna(method='ffill')\n"
|
" df = df.fillna(method='ffill')\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -1382,11 +1382,363 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"前一天的 3553.0486 <class 'float'>\n",
|
"前一天的 3727.5257 <class 'float'>\n",
|
||||||
"现在的 3543.2385 <class 'float'>\n",
|
"现在的 3653.1038 <class 'float'>\n",
|
||||||
"昨日计划提货偏差改之前 3654.03\n",
|
"昨日计划提货偏差改之前 3093.54\n",
|
||||||
"昨日计划提货偏差改之后 31.435199999999895\n",
|
"昨日计划提货偏差改之后 79.19080000000031\n",
|
||||||
"**************************************************预测结果: 3610.87\n"
|
"**************************************************预测结果: 3750.38\n",
|
||||||
|
"20250216\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3653.1038 <class 'float'>\n",
|
||||||
|
"现在的 3690.2938 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 448.52\n",
|
||||||
|
"昨日计划提货偏差改之后 -50.14919999999984\n",
|
||||||
|
"**************************************************预测结果: 3750.19\n",
|
||||||
|
"20250217\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3690.2938 <class 'float'>\n",
|
||||||
|
"现在的 3666.4264 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 -1512.9\n",
|
||||||
|
"昨日计划提货偏差改之后 -138.7491999999993\n",
|
||||||
|
"**************************************************预测结果: 3750.08\n",
|
||||||
|
"20250218\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3666.4264 <class 'float'>\n",
|
||||||
|
"现在的 3710.5143 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 1736.44\n",
|
||||||
|
"昨日计划提货偏差改之后 -120.28920000000016\n",
|
||||||
|
"**************************************************预测结果: 3800.53\n",
|
||||||
|
"20250219\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3710.5143 <class 'float'>\n",
|
||||||
|
"现在的 3786.9784 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 449.02\n",
|
||||||
|
"昨日计划提货偏差改之后 -205.32920000000013\n",
|
||||||
|
"**************************************************预测结果: 3800.41\n",
|
||||||
|
"20250220\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3786.9784 <class 'float'>\n",
|
||||||
|
"现在的 3766.1403 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 1284.6\n",
|
||||||
|
"昨日计划提货偏差改之后 -186.1891999999998\n",
|
||||||
|
"**************************************************预测结果: 3830.46\n",
|
||||||
|
"20250221\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3766.1403 <class 'float'>\n",
|
||||||
|
"现在的 3747.6395 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 2301.56\n",
|
||||||
|
"昨日计划提货偏差改之后 -186.66919999999936\n",
|
||||||
|
"**************************************************预测结果: 3850.48\n",
|
||||||
|
"20250222\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3747.6395 <class 'float'>\n",
|
||||||
|
"现在的 3564.5329 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 3639.18\n",
|
||||||
|
"昨日计划提货偏差改之后 -204.83919999999944\n",
|
||||||
|
"**************************************************预测结果: 3813.85\n",
|
||||||
|
"20250223\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3564.5329 <class 'float'>\n",
|
||||||
|
"现在的 3585.6018 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 2779.86\n",
|
||||||
|
"昨日计划提货偏差改之后 -191.76919999999973\n",
|
||||||
|
"**************************************************预测结果: 3850.49\n",
|
||||||
|
"20250224\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3585.6018 <class 'float'>\n",
|
||||||
|
"现在的 3668.5404 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 787.18\n",
|
||||||
|
"昨日计划提货偏差改之后 -169.46919999999955\n",
|
||||||
|
"**************************************************预测结果: 3850.04\n",
|
||||||
|
"20250225\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3668.5404 <class 'float'>\n",
|
||||||
|
"现在的 3791.3805 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 -2220.81\n",
|
||||||
|
"昨日计划提货偏差改之后 284.0117\n",
|
||||||
|
"**************************************************预测结果: 3825.27\n",
|
||||||
|
"20250226\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3791.3805 <class 'float'>\n",
|
||||||
|
"现在的 3553.9243 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 1969.52\n",
|
||||||
|
"昨日计划提货偏差改之后 347.3217000000004\n",
|
||||||
|
"**************************************************预测结果: 3753.31\n",
|
||||||
|
"20250227\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3553.9243 <class 'float'>\n",
|
||||||
|
"现在的 3576.4854 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 4503.35\n",
|
||||||
|
"昨日计划提货偏差改之后 302.53169999999955\n",
|
||||||
|
"**************************************************预测结果: 3800.73\n",
|
||||||
|
"20250228\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3576.4854 <class 'float'>\n",
|
||||||
|
"现在的 3645.4569 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 4517.04\n",
|
||||||
|
"昨日计划提货偏差改之后 -363.1983\n",
|
||||||
|
"**************************************************预测结果: 3799.79\n",
|
||||||
|
"20250301\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3645.4569 <class 'float'>\n",
|
||||||
|
"现在的 3615.0332 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 993.87\n",
|
||||||
|
"昨日计划提货偏差改之后 1276.8767999999995\n",
|
||||||
|
"**************************************************预测结果: 3802.24\n",
|
||||||
|
"20250302\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3615.0332 <class 'float'>\n",
|
||||||
|
"现在的 3615.0995 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 1499.46\n",
|
||||||
|
"昨日计划提货偏差改之后 663.4968000000003\n",
|
||||||
|
"**************************************************预测结果: 3801.29\n",
|
||||||
|
"20250303\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stderr",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:53: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.\n",
|
||||||
|
" df = df.applymap(lambda x: float(x) if isinstance(x, (int, float)) else x)\n",
|
||||||
|
"C:\\Users\\EDY\\AppData\\Local\\Temp\\ipykernel_12764\\1472055096.py:57: FutureWarning: DataFrame.fillna with 'method' is deprecated and will raise in a future version. Use obj.ffill() or obj.bfill() instead.\n",
|
||||||
|
" df = df.fillna(method='ffill')\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stdout",
|
||||||
|
"output_type": "stream",
|
||||||
|
"text": [
|
||||||
|
"前一天的 3615.0995 <class 'float'>\n",
|
||||||
|
"现在的 3657.0767 <class 'float'>\n",
|
||||||
|
"昨日计划提货偏差改之前 1499.46\n",
|
||||||
|
"昨日计划提货偏差改之后 663.4968000000003\n",
|
||||||
|
"**************************************************预测结果: 3801.29\n"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -1398,12 +1750,12 @@
|
|||||||
" update_e_value('定性模型数据项12-11.xlsx', 8, 1000)\n",
|
" update_e_value('定性模型数据项12-11.xlsx', 8, 1000)\n",
|
||||||
" x = qualitativeModel()\n",
|
" x = qualitativeModel()\n",
|
||||||
" print('**************************************************预测结果:',x)\n",
|
" print('**************************************************预测结果:',x)\n",
|
||||||
" # cur_time,cur_time2 = getNow(date)\n",
|
" cur_time,cur_time2 = getNow(date)\n",
|
||||||
" # pushData(cur_time,x,token)\n",
|
" pushData(cur_time,x,token)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"start_date = datetime(2025, 3, 4)\n",
|
"start_date = datetime(2025, 2, 1)\n",
|
||||||
"end_date = datetime(2025, 3, 19)\n",
|
"end_date = datetime(2025, 3, 4)\n",
|
||||||
"token = getLogToken()\n",
|
"token = getLogToken()\n",
|
||||||
"while start_date < end_date:\n",
|
"while start_date < end_date:\n",
|
||||||
" print(start_date.strftime('%Y%m%d'))\n",
|
" print(start_date.strftime('%Y%m%d'))\n",
|
||||||
@ -1415,7 +1767,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 16,
|
"execution_count": 5,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -1428,7 +1780,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 17,
|
"execution_count": 6,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
|
Loading…
Reference in New Issue
Block a user