Spaces:
Paused
Paused
Update process_report.py
Browse files- process_report.py +1 -1
process_report.py
CHANGED
|
@@ -112,7 +112,7 @@ def read_system_export(path: str) -> pd.DataFrame:
|
|
| 112 |
contains_huazhu = df["物料名称"].str.contains("华住", na=False)
|
| 113 |
contains_huazhu_special = df["物料名称"].str.contains("华住专用", na=False)
|
| 114 |
contains_yuanliao_special = df["物料名称"].str.contains("分原料绒", na=False)
|
| 115 |
-
to_remove = (contains_e | contains_ya | contains_huazhu) & ~contains_huazhu_special
|
| 116 |
df = df[~to_remove]
|
| 117 |
|
| 118 |
for c in ["请购日期","需求日期","到货日期","入库日期","计划到货日期"]:
|
|
|
|
| 112 |
contains_huazhu = df["物料名称"].str.contains("华住", na=False)
|
| 113 |
contains_huazhu_special = df["物料名称"].str.contains("华住专用", na=False)
|
| 114 |
contains_yuanliao_special = df["物料名称"].str.contains("分原料绒", na=False)
|
| 115 |
+
to_remove = (contains_e | contains_ya | contains_huazhu | contains_yuanliao_special) & ~contains_huazhu_special
|
| 116 |
df = df[~to_remove]
|
| 117 |
|
| 118 |
for c in ["请购日期","需求日期","到货日期","入库日期","计划到货日期"]:
|