taskforce-dev commited on
Commit
651d31d
Β·
1 Parent(s): 3ae88eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -114,6 +114,9 @@ def process_csv(input_file):
114
  # Set the value "明細" for rows where "θ«‹ζ±‚ε…ˆγ‚³γƒΌγƒ‰" is empty
115
  df.loc[df["εΎ—ζ„ε…ˆγ‚³γƒΌγƒ‰"].isna(), "葌归式"] = "明細"
116
 
 
 
 
117
 
118
  # Save the modified dataframe to the output file
119
  output_file_path = 'processed_file.csv'
 
114
  # Set the value "明細" for rows where "θ«‹ζ±‚ε…ˆγ‚³γƒΌγƒ‰" is empty
115
  df.loc[df["εΎ—ζ„ε…ˆγ‚³γƒΌγƒ‰"].isna(), "葌归式"] = "明細"
116
 
117
+ # 'εΎ—ζ„ε…ˆγ‚³γƒΌγƒ‰'εˆ—γ‚’ζ•΄ζ•°εž‹γ«ε€‰ζ›
118
+ df['εΎ—ζ„ε…ˆγ‚³γƒΌγƒ‰'] = df['εΎ—ζ„ε…ˆγ‚³γƒΌγƒ‰'].astype(int)
119
+
120
 
121
  # Save the modified dataframe to the output file
122
  output_file_path = 'processed_file.csv'