Do you need the astype() call here? It looks like you are not doing any special processing that would require the higher precision.