import pandas as pd
data = [['Alex',10],['Bob',12],['Clarke',13]]
df = pd.DataFrame(data,columns=['Name','Age'],dtype=float)
print df
When create DataFrame, we define the data type to be float, but not named which column to change to float. We leave it to python to decide if it makes sense to change the column data type or not, based on the value.
Just wondering, on this practice, is this still strict strongly typed?
Thanks!