df = DataFrame(dict(A=Series(['1.0', '1']), B=Series(['1.0', 'foo'])))
df
df.dtypes
df.convert_objects(convert_numeric=True)
df.convert_objects(convert_numeric=True).dtypes
Converting strings to floats in a DataFrame