Spaces:
Sleeping
Sleeping
Commit ·
6a92c8b
1
Parent(s): 8915859
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,6 +30,10 @@ def process_csv(input_file):
|
|
| 30 |
}
|
| 31 |
df.rename(columns=column_name_mapping, inplace=True)
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# Group by '請求番号' and modify rows
|
| 34 |
df_grouped = df.groupby('請求番号')
|
| 35 |
dfs = []
|
|
|
|
| 30 |
}
|
| 31 |
df.rename(columns=column_name_mapping, inplace=True)
|
| 32 |
|
| 33 |
+
# Convert the '請求日' column from YYYYMMDD to YYYY/MM/DD format
|
| 34 |
+
df['請求日'] = df['請求日'].astype(str).apply(lambda x: x[:4] + '/' + x[4:6] + '/' + x[6:8])
|
| 35 |
+
|
| 36 |
+
|
| 37 |
# Group by '請求番号' and modify rows
|
| 38 |
df_grouped = df.groupby('請求番号')
|
| 39 |
dfs = []
|