I am using python 3.6.5 and I am getting this problem:
df = pd.DataFrame({'a' : [1,2,3] , 'b' : [4,5,7]} , dtype = np.float64)
and if I do any kind of division, for instance
df['a']/2.0 = 0 0
1 1
2 2
Name: a, dtype: float64
And actually even if I try to build a dataframe using an array containing decimals, pd.DataFrame is turning everything into integer, eventhough it says that the dtype is float64. Thanx for ur help