hardik27 commited on
Commit
9d22702
·
verified ·
1 Parent(s): 9f4ee17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def map_data_to_template(excel_file, mapping_file):
95
  extracted_data[['SchDate','Qty']]= pd.DataFrame(extracted_data['Date Qty'].to_list(), index= extracted_data.index)
96
  extracted_data = extracted_data.drop('Date Qty',axis=1)
97
  extracted_data = extracted_data[~extracted_data['SchDate'].isna()]
98
- mapped_data = extracted_data.merge(mapping_data, on =['Part No.'],how='outer')#[['Item Code','SchDate','Qty']]
99
  mapped_data['SOType'] = "R"
100
  mapped_data = mapped_data[~mapped_data["SchDate"].isna()]
101
 
 
95
  extracted_data[['SchDate','Qty']]= pd.DataFrame(extracted_data['Date Qty'].to_list(), index= extracted_data.index)
96
  extracted_data = extracted_data.drop('Date Qty',axis=1)
97
  extracted_data = extracted_data[~extracted_data['SchDate'].isna()]
98
+ mapped_data = extracted_data.merge(mapping_data, on =['Part No.'],how='outer')[['Item Code','SchDate','Qty']]
99
  mapped_data['SOType'] = "R"
100
  mapped_data = mapped_data[~mapped_data["SchDate"].isna()]
101