we use .str to replace and then convert to float orders['item_price'] = orders.item_price.str.replace('$', '').astype(float). In [19]:. orders.dtypes.
確定! 回上一頁