Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -141,6 +141,7 @@ def map_data_to_template(excel_file, mapping_file):
|
|
141 |
extracted_data = extracted_data.drop('Date Qty',axis=1)
|
142 |
extracted_data = extracted_data[~extracted_data['SchDate'].isna()]
|
143 |
mapped_data = extracted_data.merge(mapping_data, on =['Part No.'],how='outer')[['Item Code','SchDate','Qty']]
|
|
|
144 |
mapped_data['SOType'] = "R"
|
145 |
mapped_data = mapped_data[~mapped_data["SchDate"].isna()]
|
146 |
|
|
|
141 |
extracted_data = extracted_data.drop('Date Qty',axis=1)
|
142 |
extracted_data = extracted_data[~extracted_data['SchDate'].isna()]
|
143 |
mapped_data = extracted_data.merge(mapping_data, on =['Part No.'],how='outer')[['Item Code','SchDate','Qty']]
|
144 |
+
mapped_data = mapped_data[~mapped_data["SchDate"].isna()]
|
145 |
mapped_data['SOType'] = "R"
|
146 |
mapped_data = mapped_data[~mapped_data["SchDate"].isna()]
|
147 |
|