Compare commits
2 Commits
d68c033ba8
...
1786380542
Author | SHA1 | Date | |
---|---|---|---|
1786380542 | |||
5b02d4c5f7 |
|
@ -5,6 +5,8 @@ import (
|
|||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
// TODO: 日期传输是使用时间戳,存储时分开年月日
|
||||
|
||||
type BillHandler struct {
|
||||
billService BillService
|
||||
}
|
||||
|
|
11
scripts/uploadExcel.py
Normal file
11
scripts/uploadExcel.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import pandas as pd
|
||||
|
||||
excel_file_path = 'scripts/bill.xlsx'
|
||||
|
||||
data = pd.read_excel(excel_file_path)
|
||||
|
||||
data = data.loc[:, ["date", "money","label", "options", "type"]]
|
||||
|
||||
data = data.fillna("")
|
||||
|
||||
print(data)
|
Loading…
Reference in New Issue
Block a user