hardik27 commited on
Commit
0fa910d
·
verified ·
1 Parent(s): 40ed0b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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