Pandas has deprecated the use of convert_object to convert a dataframe into, say, float or datetime. Instead, for a series, one should use:

df['A'] = df['A'].to_numeric()


or, for an entire dataframe:

df = df.apply(to_numeric)



Published

Dec 15, 2015