# TypeError: float() argument must be a string or a number, not 'function'

I am trying to clean the data. But I don't know how to remove a function from a column in data frame.

At row number 473 it show column N has a function . How it should be filtered out ?

• Could you add your code and specify which library you are using? – Archie May 21 '18 at 13:00
• @Archie Its solved – Abhishek Priyankar May 22 '18 at 10:29

df['col_name'] = pd.to_numeric(df['col_name'], errors='coerce')