Cosmic-ray electrons and positrons are a unique probe of the propagation of cosmic rays as well as of the nature and distribution of particle sources in our Galaxy. Recent measurements of these particles are challenging our basic understanding of the mechanisms of production, acceleration and propagation of cosmic rays. Particularly striking are the differences between the low energy results collected by the space-borne PAMELA and AMS-02 experiments and older measurements pointing to sign-charge dependence of the solar modulation of cosmic-ray spectra. The PAMELA experiment has been measuring the time variation of the positron and electron intensity at Earth from July 2006 to December 2015 covering the period for the minimum of solar cycle 23 (2006-2009) till the middle of the maximum of solar cycle 24, through the polarity reversal of the heliospheric magnetic field which took place between 2013 and 2014. The positron to electron ratio measured in this time period clearly shows a sign-charge dependence of the solar modulation introduced by particle drifts. These results provide the first clear and continuous observation of how drift effects on solar modulation have unfolded with time from solar minimum to solar maximum and their dependence on the particle rigidity and the cyclic polarity of the solar magnetic field.