optimizing memory consumption for data analytics using python from 400 to 0 1 4085108af497