Spaces:
Sleeping
Sleeping
Commit ·
2ed20b3
1
Parent(s): aeb87fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
def process_csv(input_file):
|
| 5 |
|
| 6 |
# Load the CSV file with MS932 encoding
|
| 7 |
-
df = pd.read_csv(input_file.name, encoding="MS932", header=0)
|
| 8 |
|
| 9 |
#伝票連番が空白の行を削除する
|
| 10 |
df = df.dropna(subset=["伝票連番"])
|
|
|
|
| 4 |
def process_csv(input_file):
|
| 5 |
|
| 6 |
# Load the CSV file with MS932 encoding
|
| 7 |
+
df = pd.read_csv(input_file.name, dtype={"請求先コード": str}, encoding="MS932", header=0)
|
| 8 |
|
| 9 |
#伝票連番が空白の行を削除する
|
| 10 |
df = df.dropna(subset=["伝票連番"])
|