mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-11-13 06:18:17 +00:00
feat(editor): ChatExcel
ChatExcel devlop part 1
This commit is contained in:
6
pilot/common/pd_utils.py
Normal file
6
pilot/common/pd_utils.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def csv_colunm_foramt(val):
|
||||
if str(val).find("$") >= 0:
|
||||
return float(val.replace('$', '').replace(',', ''))
|
||||
if str(val).find("¥") >= 0:
|
||||
return float(val.replace('¥', '').replace(',', ''))
|
||||
return val
|
||||
Reference in New Issue
Block a user