cara mengubah tipe data seri dari objek ke float
df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'], errors='coerce')
print(df.dtypes)
Product Price
0 AAA 250.0
1 BBB NaN
2 CCC 270.0
3 DDD NaN
Product object
Price float64
dtype: object
Raul_Grep