how to change series datatype from object to float
df['DataFrame Column'] = df['DataFrame Column'].astype(float)
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