from Hacker News

Ask HN: Why does my computer make a faint high-pitched whistling with pandas?

by mmglr on 3/17/20, 7:59 PM with 2 comments

My computer is a Microsoft Surface Book 2. When I run mean() on a dataframe with 25k rows and 2 columns I can hear a two successive faint high-pitched whistling that start audible and become inaudible after a second. If I comment out the mean() call I do not hear anything.
  • by thedance on 3/17/20, 8:18 PM

    Your CPU draws spectacular transient currents across inductors and capacitors inside your laptop, and these components are or can be microphonic, to varying degrees depending on design and manufacturing variance. Sometimes you can make it stop by disabling all the power saving and performance-boosting features so your CPU runs at the same speed and power all the time. This has a major cost in terms of battery life.
  • by jki275 on 3/17/20, 8:07 PM

    Because Pandas makes the Baby Jesus cry.