SantanuBanerjee commited on
Commit
2d48be5
·
verified ·
1 Parent(s): 5caa36b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import pandas as pd
3
 
4
  def data_pre_processing(file_responses):
5
- # Financial Weights are in per decas and NOT per cents
6
  try:
7
  # Define the columns to be processed
8
  columns = [
@@ -15,7 +15,7 @@ def data_pre_processing(file_responses):
15
  ]
16
  file_responses = file_responses[[
17
  "Personal_TaxDirection_1_Wish",
18
- "Personal_TaxDirection_2_TaxPercentageAllocated"
19
  ]]
20
 
21
 
 
2
  import pandas as pd
3
 
4
  def data_pre_processing(file_responses):
5
+ # Financial Weights can be anything (ultimately the row-wise weights are aggregated and the corresponding fractions are obtained from that rows' total tax payed)
6
  try:
7
  # Define the columns to be processed
8
  columns = [
 
15
  ]
16
  file_responses = file_responses[[
17
  "Personal_TaxDirection_1_Wish",
18
+ "Personal_TaxDirection_2_TaxWeightageAllocated"
19
  ]]
20
 
21