Skip to content

Commit 91fc942

Browse files
changing data type
1 parent c5b5c4e commit 91fc942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

card_data/tcg_pricing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def pull_product_information():
6262
"product_id": product_id_list,
6363
"name": name_list,
6464
"card_number": card_number_list,
65-
"price": price_list,
66-
})
65+
"market_price": price_list,
66+
}).with_columns(pl.col("market_price").cast(pl.Decimal(scale=2)))
6767

6868
print(df.sort("card_number"))
6969

0 commit comments

Comments
 (0)