Spaces:
Sleeping
Sleeping
Commit Β·
651d31d
1
Parent(s): 3ae88eb
Update app.py
Browse files
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'
|