SantanuBanerjee commited on
Commit
5950746
·
verified ·
1 Parent(s): d2b24d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,9 +14,9 @@ def data_pre_processing(file_responses):
14
  Mention the percentage of your Tax Amount which you wish the Government would allocate through their annual budget, to implement a solution specifically to your 3rd problem.'''
15
  ]
16
 
17
- # Convert columns to numeric and fill NaN values with 0
18
- for col in columns:
19
- file_responses[col] = pd.to_numeric(file_responses[col], errors='coerce').fillna(0)
20
 
21
  # # Calculate the Total Allocation
22
  # file_responses['Total Allocation'] = file_responses[columns].sum(axis=1)
 
14
  Mention the percentage of your Tax Amount which you wish the Government would allocate through their annual budget, to implement a solution specifically to your 3rd problem.'''
15
  ]
16
 
17
+ # # Convert columns to numeric and fill NaN values with 0
18
+ # for col in columns:
19
+ # file_responses[col] = pd.to_numeric(file_responses[col], errors='coerce').fillna(0)
20
 
21
  # # Calculate the Total Allocation
22
  # file_responses['Total Allocation'] = file_responses[columns].sum(axis=1)