Trying to convert object to float type for labour and material cost.
data type:
Cntr No object
Amount in Estimate Currency float64
Labour Cost object
Material Cost object
type object
dtype: object
output data:
OddU 6167142 543.42 192 351.42
input : No luck with below code
#convert to float
df_co.iloc[:,2:3].apply(lambda x : x.str.extract('(\d+)',expand=False).astype(float))
df_co['Labour Cost'].astype(float)