On the partial sums of certain analytic functions in the unit disc