mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-22 09:28:42 +00:00
7 lines
229 B
Python
7 lines
229 B
Python
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
|