Spaces:
Sleeping
Sleeping
Commit Β·
aeb87fc
1
Parent(s): 651d31d
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,8 @@ def process_csv(input_file):
|
|
| 115 |
df.loc[df["εΎζε
γ³γΌγ"].isna(), "θ‘ε½’εΌ"] = "ζη΄°"
|
| 116 |
|
| 117 |
# 'εΎζε
γ³γΌγ'εγζ΄ζ°εγ«ε€ζ
|
| 118 |
-
df['εΎζε
γ³γΌγ'] = df['εΎζε
γ³γΌγ'].astype(int)
|
|
|
|
| 119 |
|
| 120 |
|
| 121 |
# Save the modified dataframe to the output file
|
|
|
|
| 115 |
df.loc[df["εΎζε
γ³γΌγ"].isna(), "θ‘ε½’εΌ"] = "ζη΄°"
|
| 116 |
|
| 117 |
# 'εΎζε
γ³γΌγ'εγζ΄ζ°εγ«ε€ζ
|
| 118 |
+
df.loc[df['εΎζε
γ³γΌγ'].notna() & (df['εΎζε
γ³γΌγ'] != ''), 'εΎζε
γ³γΌγ'] = df.loc[df['εΎζε
γ³γΌγ'].notna() & (df['εΎζε
γ³γΌγ'] != ''), 'εΎζε
γ³γΌγ'].astype(int)
|
| 119 |
+
|
| 120 |
|
| 121 |
|
| 122 |
# Save the modified dataframe to the output file
|